RouterService class

Provides a service to perform

Constructors

RouterService()

Properties

hashCode int
The hash code for this object.
no setterinherited
router ↔ RootStackRouter
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stack List<StackedPage>
no setter
topRoute → RouteData
no setter

Methods

back<T extends Object?>({T? result}) → void
clearStackAndShow(PageRouteInfo route, {OnNavigationFailure? onFailure}) Future<void>
clearStackAndShowView(Widget widget, {RouteTransitionsBuilder? transitionBuilder, bool fullscreenDialog = false, Duration transitionDuration = const Duration(milliseconds: 300)}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop<T extends Object?>([T? result]) Future<bool>
popForced<T extends Object?>([T? result]) → void
pushNativeRoute<T extends Object?>(Route<T> route) Future<T?>
replaceWith<T extends Object?>(PageRouteInfo route, {OnNavigationFailure? onFailure}) Future<T?>
setRouter(RootStackRouter router) → dynamic
topMostRouter({bool ignorePagelessRoutes = false}) → RoutingController
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited