Thanks to visit codestin.com
Credit goes to officialskills.sh

Back to skills

flutter-implementing-navigation-and-routing

communitydevelopment

Handles routing, navigation, and deep linking in Flutter apps.

Setup & Installation

npx skills add https://github.com/flutter/skills --skill flutter-implementing-navigation-and-routing
or paste the link and ask your coding assistant to install it
https://github.com/flutter/skills/tree/main/skills/flutter-implementing-navigation-and-routing
View on GitHub

What This Skill Does

Handles routing, navigation, and deep linking in Flutter apps. Covers both imperative (Navigator.push/pop) and declarative (go_router) approaches, plus nested navigation for multi-step flows.

Flutter's navigation APIs have several overlapping approaches with different tradeoffs, and this skill lays out when to use each one so you don't pick the wrong pattern and have to refactor later.

When to use it

  • Setting up URL-based deep linking for a Flutter web app
  • Moving between a list screen and a detail screen with data passing
  • Building a multi-step onboarding flow with nested navigation
  • Replacing named routes with go_router for browser back/forward support
  • Returning a result from a pushed screen back to the caller