File tree Expand file tree Collapse file tree 3 files changed +27
-22
lines changed
screens/dashboard_screens Expand file tree Collapse file tree 3 files changed +27
-22
lines changed Original file line number Diff line number Diff line change 1+ import 'package:cookethflow/core/routes/app_route_config.dart' ;
2+ import 'package:flutter/material.dart' ;
3+
4+ class MyApp extends StatefulWidget {
5+ const MyApp ({super .key});
6+
7+ @override
8+ State <MyApp > createState () => _MyAppState ();
9+ }
10+
11+ class _MyAppState extends State <MyApp > {
12+ @override
13+ Widget build (BuildContext context) {
14+ return MaterialApp .router (
15+ debugShowCheckedModeBanner: false ,
16+ routerConfig: AppRouteConfig .returnRouter (),
17+ // home: const SplashScreen(),
18+ );
19+ }
20+ }
Original file line number Diff line number Diff line change 1+ import 'package:cookethflow/app.dart' ;
12import 'package:cookethflow/core/routes/app_route_config.dart' ;
23import 'package:flutter/material.dart' ;
34import 'package:cookethflow/core/services/supabase_service.dart' ;
@@ -68,22 +69,4 @@ Future<void> main() async {
6869 ],
6970 child: const MyApp (),
7071 ));
71- }
72-
73- class MyApp extends StatefulWidget {
74- const MyApp ({super .key});
75-
76- @override
77- State <MyApp > createState () => _MyAppState ();
78- }
79-
80- class _MyAppState extends State <MyApp > {
81- @override
82- Widget build (BuildContext context) {
83- return MaterialApp .router (
84- debugShowCheckedModeBanner: false ,
85- routerConfig: AppRouteConfig .returnRouter (),
86- // home: const SplashScreen(),
87- );
88- }
89- }
72+ }
Original file line number Diff line number Diff line change @@ -90,9 +90,11 @@ class Dashboard extends StatelessWidget {
9090 workspaceProvider
9191 .initializeWorkspace (flowId);
9292
93- context.go ('${RoutesPath .workspace }/:$flowId ' );
94- // .then((_) =>
95- // flowProvider.refreshFlowList());
93+ context.go (
94+ '${RoutesPath .workspace }/:$flowId ' );
95+ flowProvider.refreshFlowList ();
96+ // .then((_) =>
97+ // flowProvider.refreshFlowList());
9698 },
9799 );
98100 }
You can’t perform that action at this time.
0 commit comments