ImperativeRouteMatch class

The route match that represent route pushed through GoRouter.push.

Inheritance

Constructors

ImperativeRouteMatch({required ValueKey<String> pageKey, required RouteMatchList matches, required Completer<Object?> completer})
Constructor for ImperativeRouteMatch.

Properties

completer Completer<Object?>
The completer for the future returned by GoRouter.push.
final
hashCode int
The hash code for this object.
no setteroverride
matchedLocation String
The location string that matches the route.
finalinherited
matches RouteMatchList
The matches that produces this route match.
final
pageKey ValueKey<String>
Value key of type string, to hold a unique reference to a page.
finalinherited
route RouteBase
The matched route.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

complete([dynamic value]) → void
Called when the corresponding Route associated with this route match is completed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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