v3.0.0
zenrouter
一個功能強大的 Flutter 路由器,支援深度連結、Web 支援、類型安全路由、守衛、重導向和零樣板程式碼。
103喜歡 4480近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
適用於所有導航模式的終極 Flutter/Dart 前端路由器
以下為英文專案原文快照,最新內容請造訪 GitHub。
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_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.
Apache 2.0. LICENSE
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗