NavigatorContext extension
Contains extensions for easier access to Navigator and NavigatorState using BuildContext
- on
Properties
-
Returns The state from the closest instance of this class that encloses the given context.
no setter
Methods
-
pop<
T> ([T? result]) → void - Removes the top most Widget in the navigator's stack
-
push<
T> (WidgetBuilder builder) → Future< T?> - Pushes the built widget to the screen using the material fade in animation