agentsclimarketplace

Flutter navigation

Skill ComeOnOliver/skillshub/skills/HoangNguyen0403/agent-skills-standard/flutter-navigation

Flutter navigation patterns including go_router, deep linking, and named routes. Use when implementing navigation, deep linking, or named routes in Flutter. (triggers: **/*_route.dart, **/*_router.dart, **/main.dart, Navigator, GoRouter, routes, deep link, go_router, AutoRoute)From its SKILL.md

Install
npx -y skills add ComeOnOliver/skillshub --skill flutter-navigation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.2 KB, 218 tokens by cl100k_base, as published. Nobody here has run it

Flutter Navigation

Priority: P1 (OPERATIONAL)

Navigation and routing for Flutter apps using go_router or named routes.

Guidelines

  • Package: Use go_router for modern, declarative routing.
  • Deep Linking: Configure AndroidManifest.xml and Info.plist for URL schemes.
  • Validation: Validate parameters in redirect logic before navigation.
  • Stateful Tabs: Use IndexedStack to preserve state in bottom navigation.

Routing Patterns & Examples

Anti-Patterns

  • No Manual URL Parsing: Use go_router parsing, never Uri.parse manually.
  • No Stateless Tabs: Scaffold body switching loses state; use IndexedStack.
  • No Unvalidated Deep Links: Always check if IDs exist in redirect.
  • No Hardcoded Routes: Use constants (e.g., Routes.home) or code generation.

Related Topics

flutter-design-system | flutter-notifications | mobile-ux-core

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.