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.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate uloc

Use it

The package has the following executables:

$ uloc

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add uloc

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  uloc: ^1.1.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:uloc/uloc.dart';
4
likes
160
points
84
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