wizard_router 1.0.0 wizard_router: ^1.0.0 copied to clipboard
Routing for linear wizards. No dependencies between pages. Pages merely request the next page. Routes and conditions defined in a central place.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add wizard_router
With Flutter:
$ flutter pub add wizard_router
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
wizard_router: ^1.0.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:wizard_router/wizard_router.dart';