LogoSkills

inspector/nav

GoRouter navigation runtime debugging

항ëĒŠë‚´ėšŠ
Categorypetmedi-development
Complexitysimple
MCP Serversflutter-inspector

/inspector/nav#

Context Framework Note: Activated when debugging GoRouter navigation.

Triggers#

  • Screen transition issues
  • Route parameter issues
  • Deep link debugging

MCP Tools#

Returns current route information.

Returns the navigation history stack.

Returns the current route's parameters.

Navigates to a specific path.

Pushes a new path onto the stack.

Pops the current route.

Replaces the current route.

Clears the navigation stack.

Common Diagnostics#

Screen not transitioning#

1. nav_get_current_route - >   Check current location
2. nav_get_history - >   Check stack state
3. Review route definitions

Parameters not passed#

1. nav_get_params - >   Check current parameters
2. Review sending side code
3. Review receiving side parsing

Back navigation issues#

1. nav_get_history - >   Check stack depth
2. Test nav_pop
3. Review popUntil logic

Examples#

Check current route#

/inspector/nav current

Check navigation history#

/inspector/nav history

Test navigation to specific path#

/inspector/nav go /home

References#

  • Detailed implementation: .claude/agents/flutter-inspector-nav.md
  • Master inspector: .claude/commands/inspector.md