StandardRouteInformationParser class
A class that implements RouteInformationParser necessary for Patapata's Router.
- Inheritance
-
- Object
- RouteInformationParser<
StandardRouteData> - StandardRouteInformationParser
Constructors
- StandardRouteInformationParser.new({required BuildContext context, required StandardRouterDelegate routerDelegate})
- Create a StandardRouteInformationParser
Properties
- context → BuildContext
-
A handle to the location of a widget in the widget tree.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- routerDelegate → StandardRouterDelegate
-
Delegate for the standard router.
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< StandardRouteData> -
Converts the given route information into parsed data to pass to a
RouterDelegate.
override
-
parseRouteInformationWithDependencies(
RouteInformation routeInformation, BuildContext context) → Future< StandardRouteData> -
Converts the given route information into parsed data to pass to a
RouterDelegate.
inherited
-
restoreRouteInformation(
StandardRouteData 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