IXNavigator class abstract

Implementers

Constructors

IXNavigator()

Properties

hashCode int
The hash code for this object.
no setterinherited
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canPop() bool
The initial route cannot be popped off the navigator, which implies that this function returns true only if popping the navigator would not remove the initial route.
maybePop<T extends Object>([T result]) Future<bool>
Consults the current route's Route.willPop method, and acts accordingly, potentially popping the route as a result; returns whether the pop request should be considered handled.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop<T extends Object>([T result]) → void
Removes the current Route from the stack of routes.
popAndPushNamed<T extends Object, TO extends Object>(String routeName, {TO? result, Object? arguments}) Future<T?>
Pop the current route off the navigator and navigate to a route.
popUntil(bool predicate(Route)) → void
Calls pop repeatedly on the navigator that most tightly encloses the given context until the predicate returns true.
push<T extends Object>(Route<T> route) Future<T?>
Navigate to a new screen.
pushNamed<T extends Object>(String routeName, {Object? arguments}) Future<T?>
Navigate to a route.
pushNamedAndRemoveUntil<T extends Object>(String newRouteName, bool predicate(Route), {Object? arguments}) Future<T?>
Push the route with the given name onto the navigator that most tightly encloses the given context, and then remove all the previous routes until the predicate returns true.
pushReplacement<T extends Object, TO extends Object>(Route<T> newRoute, {TO? result}) Future<T?>
Replace the current route of the navigator that most tightly encloses the given context by pushing the given route and then disposing the previous route once the new route has finished animating in.
pushReplacementNamed<T extends Object, TO extends Object>(String routeName, {TO? result, Object? arguments}) Future<T?>
Replace the current route of the navigator that most tightly encloses the given context by pushing the route named routeName and then disposing the previous route once the new route has finished animating in.
routeNamed<T>(String name, {dynamic args}) Route<T?>
showDialog({WidgetBuilder builder, bool barrierDismissible = true}) Future
toString() String
A string representation of this object.
inherited

Operators

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