SKILL Instructions
claude
cursor
#flutter
#navigation
#routing
About
Configure `go_router` for deep links, nested routes, and auth-gated redirects.
Metadata (SKILL.md frontmatter)
- name
- flutter-go-router
- version
- 1.0.0
Instructions
go_router
- Declare routes in a single
GoRouterconfig. - Use
ShellRoutefor bottom-nav shells. - Guard routes with
redirect:returning null or a path. - Access params with
state.pathParameters['id'].