FLUTTER ECOSYSTEM

definev/zenrouter

適用於所有導航模式的終極 Flutter/Dart 前端路由器

zenrouter 專案封面
Stars
103
Forks
8
最近推送(UTC)
2026年9月18日
專案狀態
未封存
Bui Dai Duong GitHub avatar
GITHUB User

Bui Dai Duong ↗

Enjoy sharing knowledge and learning from other.

語言DartC++CMakeSwiftHTMLShellCRubyKotlinJavaScriptObjective-C

技術主題

此儲存庫發佈的套件

所在榜單

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README
ZenRouter Logo

Navigation as a typed graph.

pub package Test Codecov - zenrouter Codecov - zenrouter_core


Need deep linking or a browser URL?
│
├─ YES → Coordinator  (prefer RouteManifest + RouteBinding)
│
└─ NO → state-driven stack? → Declarative
        otherwise           → Imperative (NavigationPath)

zenrouter README · Getting Started

Packages

Package Role
zenrouter Flutter Coordinator, NavigationStack, restoration
zenrouter_core RouteTarget, CoordinatorCore, paths, mixins, RouteManifest
zenrouter_devtools Overlay, Graph tab
zenrouter_file_generator File-based codegen

iOS, Android, Web, macOS, Windows, Linux

3.0 is a prerelease for early testers:

dependencies:
  zenrouter: ^3.0.0-beta.1

flutter pub add zenrouter still resolves 2.x. 2.x coordinators that extend Coordinator still compile. See Migrating from 2.x.

License

Apache 2.0. LICENSE

definev