FancyNavigatorState extension

on

Methods

pushAndRemoveAll<T extends Object?>(Route<T> newRoute) Future<T?>

Available on NavigatorState, provided by the FancyNavigatorState extension

Push the given route onto the navigator, and then remove all the previous routes.
pushNamedAndRemoveAll<T extends Object?>(String newRouteName, {Object? arguments}) Future<T?>

Available on NavigatorState, provided by the FancyNavigatorState extension

Push the route with the given name onto the navigator, and then remove all the previous routes.