AppRouteInformationParser class

Inheritance

Constructors

AppRouteInformationParser({required List<AppRoute> routes, required AppRoute unknownRoute, bool debugging = false, AppRoute? rootRoute, Uri transformUri(Uri initialUri)?, dynamic onExternalRoute(Uri uri, AppRoute selectedRoute)?})
const

Properties

debugging bool
final
hashCode int
The hash code for this object.
no setterinherited
onExternalRoute → (dynamic Function(Uri uri, AppRoute selectedRoute)?)
final
rootRoute AppRoute?
final
routes List<AppRoute>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transformUri → (Uri Function(Uri initialUri)?)
final
unknownRoute AppRoute
final

Methods

log(Object message) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseRouteInformation(RouteInformation routeInformation) Future<AppRoute>
Converts the given route information into parsed data to pass to a RouterDelegate.
override
parseRouteInformationWithDependencies(RouteInformation routeInformation, BuildContext context) Future<AppRoute>
Converts the given route information into parsed data to pass to a RouterDelegate.
inherited
restoreRouteInformation(AppRoute configuration) RouteInformation?
Restore the route information from the given configuration.
inherited
toString() String
A string representation of this object.
inherited

Operators

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