NavigatorExtension extension

on

Methods

canScreenPop() bool

Available on BuildContext, provided by the NavigatorExtension extension

Checks if we can pop
popScreen<T extends Object?>([T? result]) → void

Available on BuildContext, provided by the NavigatorExtension extension

Pops the current screen
popScreenUntil(bool predicate(Route)) → void

Available on BuildContext, provided by the NavigatorExtension extension

Pops until a certain route is reached
pushScreen<T>(Widget page) Future<T?>

Available on BuildContext, provided by the NavigatorExtension extension

Pushes a new screen onto the stack
pushScreenAndRemoveAll<T>(Widget page) Future<T?>

Available on BuildContext, provided by the NavigatorExtension extension

Pushes a new screen and removes all previous routes
pushScreenReplacement<T, TO>(Widget page) Future<T?>

Available on BuildContext, provided by the NavigatorExtension extension

Pushes a new screen and replaces the current one