route_stack_manager 1.2.0
route_stack_manager: ^1.2.0 copied to clipboard
This is a Flutter route stack information listening library. You can obtain the list of current routes, current routes, previous routes, and whether the current route is a pop-up window
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add route_stack_manager
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
route_stack_manager: ^1.2.0
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:route_stack_manager/route_stack_manager.dart';