MaterialAutoRouter class
Defaults created routes to MaterialPageRoute unless overridden by AutoRoute
- Inheritance
-
- Object
- AutoRouterAnnotation
- MaterialAutoRouter
Constructors
-
MaterialAutoRouter({bool preferRelativeImports = true, required List<
AutoRoute> routes, String? replaceInRouteName}) -
const
Properties
- 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
-
routes
→ List<
AutoRoute> -
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