NavigationHelpers extension
Methods
-
canPopPage()
→ bool
-
Whether the navigator can be popped.
-
dismissKeyboard()
→ void
-
Dismisses the keyboard
(by removing the focus on this node by moving the primary focus to another node).
-
popPage({bool dismissKeyboard = true})
→ void
-
Pop the top-most route off the navigator and dismiss the keyboard.
-
pushPage<T extends Object?>(Widget page, {bool dismissKeyboard = true, bool avoidDuplicatePage = true})
→ Future<void>
-
Push the given page onto the navigator.
-
pushRoute<T extends Object?>(Route<T> route, {bool dismissKeyboard = true, bool avoidDuplicateRoute = true})
→ Future<void>
-
Push the given route onto the navigator.