NavigationService class

Constructors

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() bool
goBack<T extends Object?>({T? result}) → void
maybePop<T extends Object?>([T? result]) Future<bool?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pageSettings(BuildContext context) RouteSettings?
popUntil(String route) → void
push<T extends Object?>(Route<T> route) Future<T?>
pushAndRemoveUntil<T extends Object?>(Route<T> route, {_RoutePredicate? predicate}) Future<T?>
pushNamed<T extends Object?>(String routeName, {Object? args}) Future<T?>
pushNamedAndRemoveUntil<T extends Object?>(String routeName, {Object? args, _RoutePredicate? predicate}) Future<T?>
pushReplacementNamed<T extends Object?, TO extends Object?>(String routeName, {Object? args, TO? result}) Future<T?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

getter/setter pair