计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
flutter-auto-route-navigation【效率与协作】Implement typed routing, nested routes, and auth guards using auto_route in Flutter. Use when the task explicitly uses auto_route or its generated router; defer generic deep-link setup and other routing libraries.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
core/router/
├── app_router.dart # Router configuration
└── app_router.gr.dart # Generated routes
@RoutePage()._$AppRouter and annotate with @AutoRouterConfig.HomeRoute()). Never use strings.AutoRouteGuard for authentication/authorization logic.@RoutePage widgets automatically become route parameters.context.pushRoute() or context.replaceRoute().Use children in AutoRoute for tabs. Pass children parameter to define initial active sub-route.
See implementation examples for nested route navigation and router configuration patterns.
For full Router configuration and Auth Guard implementation: See references/REFERENCE.md.
OrderDetailRoute(id: 123)).When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
Use generated
Additional task-grounded exact anchors: generated typed