declarative_navigator 0.0.2 declarative_navigator: ^0.0.2 copied to clipboard
Fully declarative, state-driven routing for Flutter's Navigator 2.0. Makes routing as simple as widgets!
0.0.2 #
- Adds supports for automatic back buttons or not depending on whether a
pop
function is provided on theDeclarativePage
- If given, that function must update the state, such that the page will not be part of the next render
- Adds example showing pages with and without such a
pop
and how the defaultAppBar
and transition style adapts accordingly
- Use
Material
-style route as base to automatically get system-adaptive styles- Uses a modal transition for all sub-pages that don't allow the user to go back using system gestures
0.0.1 #
- Initial implementation of
StatefulNavigator
andMappedNavigator
- Example showing a simple list/detail pattern