DefaultRouteParser class
AutoRoute extension of RouteInformationParser
- Inheritance
-
- Object
- RouteInformationParser<
UrlState> - DefaultRouteParser
Constructors
- DefaultRouteParser(RouteMatcher _matcher, {bool includePrefixMatches = false, DeepLinkTransformer? deepLinkTransformer})
- Default constructor
Properties
- deepLinkTransformer → DeepLinkTransformer?
-
Clients can use this to intercept deep-links
coming from platform and transform the Uri.
Especially useful to remove pathPrefixes use in filter-intent on Android
or appLinks on Apple
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- includePrefixMatches → bool
-
If set to true all paths that's
matched as prefix will be included in
matching list.
Passed to
RouteMatcher.matchUri
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
-
parseRouteInformation(
RouteInformation routeInformation) → Future< UrlState> -
Converts the given route information into parsed data to pass to a
RouterDelegate.
override
-
parseRouteInformationWithDependencies(
RouteInformation routeInformation, BuildContext context) → Future< UrlState> -
Converts the given route information into parsed data to pass to a
RouterDelegate.
inherited
-
restoreRouteInformation(
UrlState configuration) → RouteInformation -
Restore the route information from the given configuration.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited