navigation_history_observer 1.1.1
navigation_history_observer: ^1.1.1 copied to clipboard
A Flutter NavigatorObserver that stores a collection of pushed routes history, as well as the popped history.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add navigation_history_observerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
navigation_history_observer: ^1.1.1Alternatively, 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:navigation_history_observer/navigation_history_observer.dart';