30 lines
779 B
Dart
30 lines
779 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
|
import 'package:tunas/domains/account/account_bloc.dart';
|
|
import 'package:tunas/pages/budgets/widgets/budgets_actions.dart';
|
|
|
|
class BudgetsPage extends StatelessWidget {
|
|
const BudgetsPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return BlocListener<AccountBloc, AccountState>(
|
|
listener: (context, state) {
|
|
if (state.showAddDialog) {
|
|
// TransactionAddDialog.show(context);
|
|
}
|
|
},
|
|
child: const Flex(
|
|
direction: Axis.horizontal,
|
|
children: [
|
|
Expanded(
|
|
child: Column(
|
|
children: [
|
|
BudgetsActions(),
|
|
],
|
|
))
|
|
],
|
|
),
|
|
);
|
|
}
|
|
} |