navigation_history_observer 1.0.3 copy "navigation_history_observer: ^1.0.3" to clipboard
navigation_history_observer: ^1.0.3 copied to clipboard

outdated

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

example/lib/main.dart

import 'package:example/example_page.dart';
import 'package:flutter/material.dart';
import 'package:navigation_history_observer/navigation_history_observer.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: ExamplePage(pageNum: 1,),
      navigatorObservers: [NavigationHistoryObserver()],
    );
  }
}
59
likes
0
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

License

unknown (LICENSE)

Dependencies

built_collection, flutter

More

Packages that depend on navigation_history_observer