flutter-auto-route-navigation

Official

Type-safe routing for Flutter apps.

Authorwildbitca
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Flutter apps often suffer from brittle string-based routing, leading to runtime errors and hard-to-maintain navigation logic. This Skill enables type-safe routing with auto_route, generating route classes and centralizing routing config to improve safety and maintainability.

Core Features & Use Cases

  • Annotate screens with @RoutePage and extend _$AppRouter via @AutoRouterConfig to provide a centralized router.
  • Navigate with generated route classes (e.g., HomeRoute()) instead of strings, enabling safer refactors and better IDE support.
  • Support nested routes and tabs via the children property and implement AutoRouteGuard for authentication/authorization across protected sections.
  • Reuse routing patterns across complex flows such as dashboards, nested navigations, and guarded pages, with dynamic tab initialization when needed.

Quick Start

Annotate your pages with @RoutePage, implement AppRouter by extending _$AppRouter, and navigate using the generated route classes.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: flutter-auto-route-navigation
Download link: https://github.com/wildbitca/ai-resources/archive/main.zip#flutter-auto-route-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.