Need deep linking or a browser URL?
│
├─ YES → Coordinator (prefer RouteManifest + RouteBinding)
│
└─ NO → state-driven stack? → Declarative
otherwise → Imperative (NavigationPath)
zenrouter README · Getting Started
| Package | Role |
|---|---|
zenrouter |
Flutter Coordinator, NavigationStack, restoration |
zenrouter_core |
RouteTarget, CoordinatorCore, paths, mixins, RouteManifest |
zenrouter_devtools |
Overlay, Graph tab |
zenrouter_file_annotation |
Shared file-routing annotations |
zenrouter_file_generator |
Flutter and DartNative file-based codegen |
zenrouter_dartnative |
DartNative navigation and logical layouts (0.1.0) |
zenrouter_dartnative_devtools |
Native navigation inspector (0.1.0) |
iOS, Android, Web, macOS, Windows, Linux
Install ZenRouter 3.0 stable:
dependencies:
zenrouter: ^3.0.0For an existing 2.x app, review the breaking changes before upgrading. See Migrating from 2.x.
Apache 2.0. LICENSE