StubNavigation class

A stub for Navigation.

Constructors

StubNavigation()

Properties

hashCode int
The hash code for this object.
no setterinherited
key GlobalKey<NavigatorState>
A GlobalKey for the type, T.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state NavigatorState?
The current state of key.
no setterinherited

Methods

canPop() bool
Forwards execution to Navigator.canPop.
inherited
maybePop<T>([T? result]) Future<bool>
Forwards execution to Navigator.maybePop.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop<T>([T? result]) → void
Forwards execution to Navigator.pop.
inherited
popAndPushNamed<T, R>(String route, {R? result, Object? arguments}) Future<T?>
Forwards execution to Navigator.popAndPushNamed.
inherited
popUntil(RoutePredicate predicate) → void
Forwards execution to Navigator.popUntil.
inherited
push<T>(Route<T> route) Future<T?>
Forwards execution to Navigator.push.
inherited
pushAndRemoveUntil<T>(Route<T> route, RoutePredicate predicate) Future<T?>
Forwards execution to Navigator.pushAndRemoveUntil.
inherited
pushNamed<T>(String route, {Object? arguments}) Future<T?>
Forwards execution to Navigator.pushNamed.
inherited
pushNamedAndRemoveUntil<T>(String route, RoutePredicate predicate, {Object? arguments}) Future<T?>
Forwards execution to Navigator.pushNamedAndRemoveUntil.
inherited
pushReplacement<T, R>(Route<T> route, {R? result}) Future<T?>
Forwards execution to Navigator.pushReplacement.
inherited
pushReplacementNamed<T, R>(String route, {R? result, Object? arguments}) Future<T?>
Forwards execution to Navigator.pushReplacementNamed.
inherited
removeRoute(Route route) → void
Forwards execution to Navigator.removeRoute.
inherited
removeRouteBelow(Route anchor) → void
Forwards execution to Navigator.removeRouteBelow.
inherited
replace<T>({required Route old, required Route<T> route}) → void
Forwards execution to Navigator.replace.
inherited
replaceRouteBelow<T>({required Route anchor, required Route<T> route}) → void
Forwards execution to Navigator.replaceRouteBelow.
inherited
toString() String
A string representation of this object.
inherited

Operators

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