AppRouteMatch<R, P extends RouteParams> class
Represents the combination of the route definition AppRoute as well as the specific parameters to create an instance of that route.
Using these two pieces of information, a caller could then push the route, overlay, etc. In other words, this class tries to abstract away how the the route is displayed from what the route is.
Constructors
-
AppRouteMatch(AppRoute<
dynamic, RouteParams> ? route, RouteParams parameters) -
const
- AppRouteMatch.builder(String route, {required WidgetBuilder builder, String? name})
- AppRouteMatch.missing()
-
AppRouteMatch.ofMap(AppRoute<
dynamic, RouteParams> ? route, Map<String, dynamic> ? rawParams)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMissing → bool
-
no setter
- parameters → RouteParams
-
final
-
route
→ AppRoute<
dynamic, RouteParams> ? -
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited