Skip to content

Commit

Permalink
feat: provide financial bloc
Browse files Browse the repository at this point in the history
  • Loading branch information
jsgalarraga committed Aug 2, 2024
1 parent d93a5f1 commit 558fb30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/demo/view/demo_page.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:financial_dashboard/demo/demo.dart';
import 'package:financial_dashboard/financial_data/financial_data.dart';
import 'package:financial_dashboard/flavor_button/flavor_button.dart';
import 'package:financial_dashboard/l10n/l10n.dart';
import 'package:financial_dashboard/theme_button/theme_button.dart';
Expand All @@ -15,6 +16,10 @@ class DemoPage extends StatelessWidget {
providers: [
BlocProvider(create: (_) => ThemeModeCubit()),
BlocProvider(create: (_) => FlavorCubit()),
BlocProvider(
create: (_) =>
FinancialDataBloc()..add(const FinancialDataRequested()),
),
],
child: const DemoView(),
);
Expand Down

0 comments on commit 558fb30

Please sign in to comment.