BaseRoute class abstract
- Mixed-in types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pageInfo
→ Map<
String, dynamic> -
no setter
- pageName → String?
-
no setterinherited
- path → String
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subRoutes
→ List<
GoRoute> -
no setter
Methods
-
build(
BuildContext context, GoRouterState state) → Widget -
Creates the Widget for
this
route.inherited -
buildPage(
BuildContext context, GoRouterState state) → Page< void> - A page builder for this route.
-
buildWidget(
BuildContext context) → Widget -
createRoute(
{List< GoRoute> routes = const []}) → GoRoute -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onExit(
BuildContext context, GoRouterState state) → FutureOr< bool> -
Called when this route is removed from GoRouter's route history.
inherited
-
redirect(
BuildContext context, GoRouterState state) → FutureOr< String?> -
An optional redirect function for this route.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited