This commit is contained in:
zhutao
2025-09-04 17:57:35 +08:00
parent 4d12f8afc2
commit 0231dcfe1a
34 changed files with 1339 additions and 368 deletions

View File

@@ -11,9 +11,15 @@ List<RouteType> planRoutes = [
},
),
RouteType(
path: RoutePaths.planDetail,
path: RoutePaths.planDetail(),
child: (state) {
return PlanDetailPage();
final id = state.pathParameters['id'];
final extraMap = state.extra as Map<String, dynamic>?;
return PlanDetailPage(
id: id,
planName: extraMap?['name'],
);
},
),
];