configure-navigation

Community

Streamline Flutter navigation with GoRouter.

Authorandrelucassvt
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guide helps Flutter teams prevent scattered navigation logic by centralizing GoRouter configuration, route constants, and navigation patterns, reducing bugs and improving consistency across the app.

Core Features & Use Cases

  • Centralizes route constants in app_routes.dart and GoRouter configuration in app_router.dart for a single source of truth.
  • Supports GoRouter features such as path parameters, nested routes, redirects, guards, and ShellRoute layouts to handle complex flows.
  • Encourages navigation from the view layer via context.push, context.go, and context.replace, with coordination through BlocListener when needed.
  • Facilitates maintenance and scaling as the app grows, including deep links and guard-driven redirects.

Quick Start

Define your routes in app_routes.dart, configure GoRouter in app_router.dart, and perform navigation from the view using context.push, context.go, or context.replace.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: configure-navigation
Download link: https://github.com/andrelucassvt/CleanMacForDevsWeb/archive/main.zip#configure-navigation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.