definevdefinevCommunityยท1 Agent Skills Included

zenrouter

Flutter routing with deep links, layouts, and guards

Implements Flutter app navigation using the zenrouter Coordinator pattern with routes, layouts, and feature modules. Handles deep linking, URL sync, redirect rules, and pop guards without manual route wiring. Provides naming conventions, file structure standards, and checklists to add new screens faster with fewer routing mistakes.
npx skills add definev/zenrouter --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install zenrouter?โ–ผ

Run `npx skills add definev/zenrouter --all -g -y` in your terminal to install this skill globally.

How to add deep linking to a Flutter app?โ–ผ

Use the Coordinator pattern with RouteUnique routes, implement parseRouteFromUri to map URIs to routes, and wire it up with MaterialApp.router.

How to organize Flutter routes by feature?โ–ผ

Split URI parsing across RouteModule classes and register them in defineModules on a CoordinatorModular coordinator, so each feature owns its own routes and navigation paths.

How to protect Flutter routes with auth guards?โ–ผ

Apply the RouteGuard or RouteRedirect mixins to your routes, or use composable GuardRule and RedirectRule lists to block pops and redirect unauthenticated users.

Does zenrouter work on web and desktop?โ–ผ

Yes. It supports iOS, Android, Web, macOS, Windows, and Linux, with full URL sync and browser back button support through the Coordinator pattern.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’