IRouteParser class

Parses the URI path into a ParsedRoute.

Inheritance

Constructors

IRouteParser({String initialRoute = '/', required Map<String, RouteBuilder> routes, List<String>? tabs, RouteGuard<ParsedRoute>? guard})

Properties

currentTab int
getter/setter pair
guard RouteGuard<ParsedRoute>?
final
hashCode int
The hash code for this object.
no setterinherited
histories List<List<String>>
getter/setter pair
initialRoute ParsedRoute
final
routes Map<String, RouteBuilder>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabs List<String>
getter/setter pair
useTabs bool
no setter

Methods

addToHistory(ParsedRoute route) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseRouteInformation(RouteInformation routeInformation) Future<ParsedRoute>
Converts the given route information into parsed data to pass to a RouterDelegate.
override
parseRouteInformationWithDependencies(RouteInformation routeInformation, BuildContext context) Future<ParsedRoute>
Converts the given route information into parsed data to pass to a RouterDelegate.
inherited
restoreRouteInformation(ParsedRoute 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