navigation_history_observer 1.1.1 copy "navigation_history_observer: ^1.1.1" to clipboard
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_observer

This 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.1

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:navigation_history_observer/navigation_history_observer.dart';
61
likes
140
pub points
95%
popularity

Publisher

unverified uploader

A Flutter NavigatorObserver that stores a collection of pushed routes history, as well as the popped history.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

built_collection, flutter

More

Packages that depend on navigation_history_observer