RoutedInfo class

Value object that is passed into the PathSwitcher.builders delegate so pages can easily access values they need.

Constructors

RoutedInfo(BuildContext? context, {required String url, required String matchingRoute, required Map<String, String> pathParams, required Map<String, String> queryParams})

Properties

context BuildContext?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
matchingRoute String
getter/setter pair
pathParams Map<String, String>
getter/setter pair
queryParams Map<String, String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final

Methods

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.
inherited

Static Methods

of(BuildContext context) RoutedInfo?