flow_router 0.0.1-pre flow_router: ^0.0.1-pre copied to clipboard
A minimalistic router library for Flutter using Navigator 2.0.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flow_router
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flow_router: ^0.0.1-pre
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:flow_router/flow_router.dart';