Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canPop(BuildContext context)
→ bool
-
Whether the navigator can be popped.
-
maybePop<T extends Object?>(BuildContext context, [T? result])
→ Future<bool>
-
Pop the top-most route off, only if it's not the last route.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
path(BuildContext? context, String? initialRoute)
→ String
-
-
pop(BuildContext context)
→ void
-
Pop the top-most route off the navigator that most tightly encloses the
given context.
-
popAndPushNamed(BuildContext context, String routeName, {Object? arguments})
→ void
-
Pop the current route off and push a named route in its place.
-
popUntil(BuildContext context, RoutePredicate predicate)
→ void
-
Pops until a route with the given name.
-
pushNamed(BuildContext context, String routeName, {Object? arguments})
→ void
-
Push a named route onto the navigator that most tightly encloses the given
context.
-
pushNamedAndRemoveUntil(BuildContext context, String newRouteName, RoutePredicate predicate, {Object? arguments})
→ void
-
Push the route with the given name and remove routes until the predicate returns true.
-
replaceState(BuildContext context, Object? state, String name)
→ void
-
-
restorablePopAndPushNamed<T extends Object?, TO extends Object?>(BuildContext context, String routeName, {TO? result, Object? arguments})
→ String
-
-
state(BuildContext? context, Map<String, dynamic>? initialState)
→ dynamic
-
-
toString()
→ String
-
A string representation of this object.
inherited