ActivityRouteState class

Immutable location supplied to builders, guards and error pages.

Constructors

ActivityRouteState(Uri uri, {Map<String, String> pathParameters = const {}, Object? extra, String? name, String? fullPath, ValueKey<String>? pageKey, Exception? error})

Properties

error → Exception?
final
extra → Object?
final
fullPath → String?
final
hashCode → int
The hash code for this object.
no setterinherited
name → String?
final
pageKey → ValueKey<String>
final
pathParameters → Map<String, String>
final
queryParameters → Map<String, String>
no setter
queryParametersAll → Map<String, List<String>>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → Uri
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) → ActivityRouteState