navigator_scope 1.0.0-pre navigator_scope: ^1.0.0-pre copied to clipboard
A simple package for nested navigation. No need to learn a bunch of new APIs. It will work exactly as you imagine.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add navigator_scope
With Flutter:
$ flutter pub add navigator_scope
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
navigator_scope: ^1.0.0-pre
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:navigator_scope/navigator_scope.dart';