RoutemasterParser class
A delegate that is used by the Router widget to parse URLs.
This must be supplied to the top-level App
or MaterialApp for
Routemaster to work.
- Inheritance
-
- Object
- RouteInformationParser<
RouteData> - RoutemasterParser
Constructors
- RoutemasterParser()
-
Initializes a parser that works in conjunction with RoutemasterDelegate.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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< RouteData> -
Converts the given route information into parsed data to pass to a
RouterDelegate.
override
-
parseRouteInformationWithDependencies(
RouteInformation routeInformation, BuildContext context) → Future< RouteData> -
Converts the given route information into parsed data to pass to a
RouterDelegate.
inherited
-
restoreRouteInformation(
RouteData 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