flutter-setup-declarative-routing

Configure go_router declarative routing and deep linking for Flutter applications.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mordechai30/.agents --skill flutter-setup-declarative-routing-mordechai30
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-setup-declarative-routing
Source: https://github.com/mordechai30/.agents/tree/main/skills/flutter-setup-declarative-routing
Command: npx skills add https://github.com/mordechai30/.agents --skill flutter-setup-declarative-routing-mordechai30

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires go_router.

What problem does it solve?

This Skill addresses the complexity of managing navigation in Flutter applications, specifically solving the challenges of deep linking, browser history integration, and maintaining state across complex navigation trees.

Core Features & Use Cases

  • Declarative Routing: Centralizes route configuration using the go_router package for predictable navigation flow.
  • Deep Linking: Provides standardized workflows for configuring Android and iOS to handle external URLs and route them to specific app screens.
  • Nested Navigation: Enables persistent UI shells like bottom navigation bars that maintain state across different navigation branches.
  • Use Case: Ideal for developers building web-enabled Flutter apps or mobile applications that require deep linking support for marketing campaigns or complex user journeys.

Quick Start

Use the flutter-setup-declarative-routing skill to configure a new GoRouter instance with nested navigation and deep linking support for your current project.

Frequently Asked Questions about flutter-setup-declarative-routing

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

FAQPage Schema
How do I configure deep linking in a Flutter application?

Deep linking in Flutter is configured by setting up platform-specific intent filters for Android and iOS, then routing external URLs to specific screens using the go_router package. This ensures robust cross-platform mobile and web navigation.

How do I implement stateful nested navigation with a bottom navigation bar in Flutter?

Stateful nested navigation is implemented by configuring declarative routing with go_router to enable persistent UI shells. This maintains navigation state across different branches like bottom navigation bars.

What is the best way to manage browser history integration in Flutter web apps?

Browser history integration is managed by implementing declarative routing with go_router to facilitate path-based URL strategies. This centralizes route configuration for predictable navigation flow in web-enabled apps.

Does go_router support cross-platform mobile and web navigation?

Yes, go_router supports cross-platform mobile and web navigation by configuring declarative routing, deep linking, and stateful nested navigation shells. It ensures robust URL-based navigation architecture across platforms.

Why do I need declarative routing for my Flutter app?

Declarative routing centralizes route configuration to solve the complexity of managing navigation trees, browser history, and deep linking. It provides predictable navigation flow for web-enabled and mobile applications.