navhost 0.2.1 copy "navhost: ^0.2.1" to clipboard
navhost: ^0.2.1 copied to clipboard

A Compose-inspired declarative navigation wrapper for Flutter's Navigator 2.0 with NavController, NavHost, transitions, interceptors, and bottom sheet/dialog support.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add navhost

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

dependencies:
  navhost: ^0.2.1

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:navhost/navhost.dart';
1
likes
160
points
457
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Compose-inspired declarative navigation wrapper for Flutter's Navigator 2.0 with NavController, NavHost, transitions, interceptors, and bottom sheet/dialog support.

Repository (GitHub)
View/report issues

Topics

#navigation #navigator #router #compose

License

MIT (license)

Dependencies

flutter

More

Packages that depend on navhost