Package selection guidance compiled from public package information, community data, and project usage.
A lightweight middleware that enables reactive navigation in Flutter apps using Redux. It synchronizes navigation state with the Redux store, allowing routes to be managed declaratively and reactively based on app state changes. This package simplifies navigation logic by integrating it into the Redux flow, reducing boilerplate and improving testability. It supports all major platforms and works seamlessly with Flutter's Redux ecosystem.
Use cases
Declarative route management
Reactive navigation based on state
Synchronized navigation across components
Testing navigation logic
Streamlined state-driven routing
Key features
Integrates with Redux store
Reactive route updates
Minimal boilerplate
Cross-platform support
Easy testing
State-driven navigation
Suitable for
Redux-based Flutter apps
Apps needing state-dependent navigation
Developers seeking clean navigation patterns
Teams using reactive state management
Projects requiring predictable navigation flows
Considerations
Requires Redux setup
Limited to Redux architecture
May add complexity for simple apps
Not suitable for non-Redux projects
Needs careful state design for navigation
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Flutter Navigation for redux
Navigation Middleware for Flutter's redux library.
Basic classes that enables page navigation through by utilizing Redux Store middleware facility.
This package is built to work with Redux.dart 4.0.0+.
Redux Middleware
NavigationMiddleware<T> - The Middleware that reacts to NavigateToActions.
Let's say you wish to navigate from a LoginPage to some dashboard page, you only need to dispatch a NavigateToAction.replace action with the appropriate path, which is registered to the dashboard page.
Let's use the same example as before, but now let's assume that you want to start a loader whilst navigating to the dashboard and stop it once you have navigated.