diet creation scrren is done

This commit is contained in:
Username1548
2024-12-11 19:15:25 +07:00
parent 2e0a8c559f
commit 2f168a2f35
63 changed files with 3113 additions and 633 deletions

View File

@@ -112,9 +112,14 @@ class AppRouter {
GoRoute(
path: '/about-plan-screen',
name: 'aboutPlanScreen',
builder: (context, state) => AboutPlanScreen(
planModel: state.extra as PlanModel,
),
builder: (context, state) {
final data = state.extra as Map<String, dynamic>;
return AboutPlanScreen(
plan: data['plan'] as PlanModel,
// index: data['index'] as int,
navigateToComments: data['navigateToComments'] as bool,
);
},
),
GoRoute(
path: '/about-recipes-screen',