AdaptiveRouter class

Inheritance

Constructors

AdaptiveRouter({bool preferRelativeImports = false, required List<StackedRoute> routes, String? replaceInRouteName, bool? deferredLoading, bool? generateNavigationHelperExtension, String? routesClassName, String? pathPrefix})
const

Properties

deferredLoading → bool
Use for web for lazy loading other routes more info https://dart.cn/guides/language/language-tour#deferred-loading
finalinherited
generateNavigationHelperExtension → bool?
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