flutter-navigation

Configures Navigator and go_router patterns for Flutter mobile and web apps.

104|17|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/MADTeacher/mad-agents-skills --skill flutter-navigation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-navigation
Source: https://github.com/MADTeacher/mad-agents-skills/tree/main/flutter-navigation
Command: npx skills add https://github.com/MADTeacher/mad-agents-skills --skill flutter-navigation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Flutter navigation and routing can be complex for Flutter apps, causing maintenance challenges and inconsistent deep-link behavior across mobile and web.

Core Features & Use Cases

  • Support both Navigator API (imperative) and go_router (declarative) to cover simple to complex navigation.
  • Facilitate data passing, deep linking, and web navigation with consistent patterns.
  • Provide practical examples and references via assets/ and references/ for real-world use cases.

Quick Start

Use the flutter-navigation skill to plan and implement routing for a multi-screen app, consulting assets/ (navigator_basic.dart, go_router_basic.dart) for sample code and references/ for setup details.

Frequently Asked Questions about flutter-navigation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement deep linking in Flutter for both mobile and web apps?

Deep linking in Flutter requires configuring consistent URL strategies across mobile and web. You can achieve this using declarative go_router patterns or imperative Navigator setups to handle route stacks and browser history effectively.

What is the best way to handle Flutter navigation and routing for a multi-screen app?

The best way to handle Flutter navigation for multi-screen apps is choosing between imperative Navigator for simple stacks and declarative go_router for complex routing. This ensures consistent data passing and deep linking behavior.

When should I use go_router instead of the Navigator API for Flutter routing?

You should use go_router instead of the Navigator API when your Flutter app requires declarative routing, complex nested navigation, deep linking, or web URL strategy configurations for browser history synchronization.

Can I use go_router for nested navigation and web URL strategies in Flutter?

Yes, go_router supports nested navigation and web URL strategies in Flutter. It enables declarative routing patterns to manage route stacks, browser history, and deep linking consistently across mobile and web platforms.

How do I pass data between screens using Flutter navigation patterns?

Passing data between screens in Flutter navigation utilizes arguments within route stacks via the Navigator API or go_router configurations. Both imperative and declarative patterns support consistent data passing for multi-screen apps.