AppRoutes<E extends AppRouterState> class
Properties
- currentConfiguration ↔ AppRoute?
-
getter/setter pair
-
definitions
→ Map<
Type, _RouteDef< AppRouterState, AppRoute> > -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- homeRoute → AppRoute
-
no setter
- notFoundRoute → AppRoute
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → E
-
final
Methods
-
add<
T extends AppRoute> ({required String path, required T onParse(Map< String, String> data), required List<Page> onBuild(T route), AppRoute onGuard(E state)?, void onPop(E state)?, AppRoutes<AppRouterState> ? children}) → dynamic -
createRouteParser(
) → AppRouteParser -
createRouterDelegate(
) → AppRouterDelegate -
getAppRoutes(
AppRoute route) → AppRoutes< AppRouterState> -
getLocation(
AppRoute route) → String -
getPages(
) → List< Page> -
getPagesFor(
AppRoute? route) → List< Page> -
getParentRoute(
AppRoute route) → AppRoute? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
of<
T extends AppRoute> () → AppRoutes< AppRouterState> ? -
parseRouteInformation(
RouteInformation routeInformation) → Future< AppRoute> -
popPage(
) → bool -
restoreRouteInformation(
AppRoute route) → RouteInformation -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited