navigation_listener 0.0.4 copy "navigation_listener: ^0.0.4" to clipboard
navigation_listener: ^0.0.4 copied to clipboard

A small wrapper that decouples the navigation from the UI using Flutter's Notifications.

A wrapper that decouples navigation from the UI using Flutter's Notification system.

Features #

Decouples any navigating library, allowing to use any Router you want.

Getting started #

To use this plugin, add navigation_listener as a dependency in your pubspec.yaml file.

dependencies: navigation_listener: ^lastVersion

Usage #

Configure your main app to use MaterialApp.router and use the builder function to wrap the child application with a NavigationListener.

MaterialApp.router(
    builder: (context, child) => NavigationListener(child: child!,),
);

Additional information #

Feel free to open a PR with any feature you think it could be added.

0
likes
140
points
19
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A small wrapper that decouples the navigation from the UI using Flutter's Notifications.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on navigation_listener