AdaptiveRouter class
- Inheritance
-
- Object
- StackedRouterAnnotation
- AdaptiveRouter
Constructors
-
AdaptiveRouter({bool preferRelativeImports = false, required List<
StackedRoute> routes, String? replaceInRouteName, bool? deferredLoading, String? routesClassName, String? pathPrefix}) -
const
Properties
- deferredLoading → bool
-
Use for web for lazy loading other routes
more info https://dart.dev/guides/language/language-tour#deferred-loading
finalinherited
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- preferRelativeImports → bool
-
if true relative imports will be generated
when possible
defaults to true
finalinherited
- replaceInRouteName → String?
-
Auto generated route names can be a bit long with
the Route suffix
e.g ProductDetailsPage would be ProductDetailsPageRoute
finalinherited
- routePrefix → String?
-
finalinherited
-
routes
→ List<
StackedRoute> -
finalinherited
- routesClassName → String?
-
finalinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited