FlutterNavigator class
Marks a class as a navigator and create a base navigator mixin for it
Constructors
-
const
Properties
-
defaultGuards
→ List<
Type> -
Adds these guards to all routes where no guards
are specified. Useful for adding e.g. login guards
without having to add them to every route
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreKeysByDefault → bool
-
Ignore
Key? keyargument by default, override single fields with FlutterRouteFieldfinal - includeQueryParameters → IncludeQueryParametersType
-
Whether to use query parameters to provide the arguments
Default is IncludeQueryParametersType.onlyOnWeb
final
-
The name of the navigator mixin to generate
If not provided 'BaseNavigator' will be used
final
- pageType → Type?
-
Override the default page type
MaterialPageRouteto use a custom page type so you can customize the transition. Must extendPageRoutefinal -
removeSuffixes
→ List<
String> -
Remove the suffixes from the class name in
the routename. Does not effect custom route names
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unknownRoute → Type?
-
Set a screen to be used when no route is found
final
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