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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
allFlutterRoutes({String? url})
→ List<RouteSettings>
-
Returns all flutter route of the page with
url
in the navigation stack.
-
allRoutes({String? url})
→ Future<List<RouteSettings>>
-
Returns all route of the page with
url
in the navigation stack.
-
isContainsInnerRoute({required String url})
→ bool
-
Returns true if there is a route pushed by the Navigator
on the last matching url.
-
lastFlutterRoute({String? url})
→ RouteSettings?
-
Returns the flutter route of the page that was last pushed to the
navigation stack.
-
lastRoute({String? url})
→ Future<RouteSettings?>
-
Returns the route of the page that was last pushed to the navigation
stack.
-
notify<TParams>({String? url, int index = 0, required String name, TParams? params})
→ Future<bool>
-
Send a notification to the page.
-
pop<TParams>({TParams? params, bool animated = true})
→ Future<bool>
-
Pop a page from the navigation stack.
-
popTo({required String url, int index = 0, bool animated = true})
→ Future<bool>
-
Pop the page in the navigation stack until the page with
url
.
-
push<TParams>({required String url, TParams? params, bool animated = true, NavigatorParamsCallback? poppedResult})
→ Future<int>
-
Push the page onto the navigation stack.
-
remove({required String url, int index = 0, bool animated = true})
→ Future<bool>
-
Remove the page with
url
in the navigation stack.