Flutter go router navigation

From HoangNguyen0403/agent-skills-standard · View interactive version

Flutter go router navigation is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Implement typed routes, redirection, and guards using go_router in Flutter. Use when changing go_router navigation; defer widget tests that merely assert redirect behavior and defer slide/transition animation work.

How to use this skill

Skill file

GoRouter Navigation

**Priority: P0 (CRITICAL)**

Structure

core/router/
├── app_router.dart # Router configuration
└── routes.dart # Typed route definitions (GoRouteData)

Implementation Guidelines

Code

See references/typed-routes.md for GoRouteData + redirect implementation.

Anti-Patterns

Related Topics

layer-based-clean-architecture | auto-route-navigation | security

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.