uloc 1.0.18
uloc: ^1.0.18 copied to clipboard
A lifecycle-aware routing library for Flutter. Supports named routes, Provider integration, code generation, and page lifecycle hooks like onInit, onReady, and onDispose.
Changelog #
All notable changes to this project will be documented in this file.
1.0.14 - 2025-07-09 #
✨ Update #
- Can access to controllers from previous route
- Support type safe parameter
1.0.13 - 2025-07-08 #
🎉 Initial release!
✨ Features #
- CLI command:
uloc gen-route/uloc grto generate routing files from@ULoCDeclaration. - CLI command:
uloc gen-page/uloc gpto scaffold new widget pages with view/controller structure. - Route declaration default path:
lib/routes/routes.dart. - Route target output path:
lib/routes/routes.uloc.g.dart. - Support for command-line arguments:
--parametersto generate route parameters.--gen-route,--route-declaration-dir,--route-target-dir.
- Full support for
dart pub global activateor in-project viadart run uloc.
🧪 Usage Examples #
uloc gen-route
uloc gp home
uloc gp book_detail --parameters id,title