simple_navigation 1.0.27
simple_navigation: ^1.0.27 copied to clipboard
Simple named route navigation that unofficially addresses Flutter issue 11655 ("build called for non-current screens")
simple_navigation #
Simple named route navigation that unofficially addresses Flutter issue 11655 ("build needlessly called for non-current screens lower on stack")
Simplifications #
- for simplicity of development, navigation is static
- don't need to pass context
- class named 'Nav' instead of 'Navigation' because it's shorter
Limitations #
- since static, can't have multiple instances
Features #
- backButtonCaption with callback function
TODO #
- use generics for arguments: either Object (standard) or Map (my preference)
- force redraw entire tree (not sure if possible)
- pop all the way out of application (configure yes/no)
- test: hot reload doesn't erase stack
- solve: object vs. named route problem
- pass in trace flag to constructor
Pull Request #
- encouraged!