uloc 1.1.2 copy "uloc: ^1.1.2" to clipboard
uloc: ^1.1.2 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.1.2 #

  • Improve route flow

1.1.1 #

  • Fix code generator
  • Improve page gen parser

1.1.0 #

  • Add stateless provider
  • Improve functionality

1.0.24 #

  • Add upgrade command

1.0.23 #

  • Improve state lifecycle
  • Improve parser

1.0.22 #

  • Improve navigation

1.0.21 #

  • Fix bug

1.0.20 #

  • Fix bug

1.0.19 #

  • Fix bug

1.0.18 #

  • Fix bug

1.0.17 #

  • Fix bug

1.0.16 #

  • Fix bug

1.0.15 #

  • Fix CLI import

1.0.14 #

  • Can access to controllers from previous route
  • Support type safe parameter

1.0.13 #

🎉 Initial release!

  • CLI command: uloc gen-route / uloc gr to generate routing files from @ULoCDeclaration.
  • CLI command: uloc gen-page / uloc gp to 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:
    • --parameters to generate route parameters.
    • --gen-route, --route-declaration-dir, --route-target-dir.
  • Full support for dart pub global activate or in-project via dart run uloc.

🧪 Usage Examples #

uloc gen-route
uloc gp home
uloc gp book_detail --parameters id,title
4
likes
160
points
112
downloads

Publisher

verified publisherdannynguyen.vn

Weekly Downloads

A lifecycle-aware routing library for Flutter. Supports named routes, Provider integration, code generation, and page lifecycle hooks like onInit, onReady, and onDispose.

Homepage
Repository (GitHub)
View/report issues

Topics

#routing #codegen #lifecycle #provider #architecture

Documentation

API reference

License

MIT (license)

Dependencies

args, flutter, provider

More

Packages that depend on uloc