NavigationAction enum
Navigation actions in a UI context
Values
- push → const NavigationAction
-
Navigation to a new screen via push
const NavigationAction('push')
- pop → const NavigationAction
-
Navigation back via pop
const NavigationAction('pop')
- replace → const NavigationAction
-
Replace current screen
const NavigationAction('replace')
- remove → const NavigationAction
-
Remove a screen from navigation stack
const NavigationAction('remove')
- returnTo → const NavigationAction
-
Return to a previous screen that's still in the stack
const NavigationAction('return_to')
- initial → const NavigationAction
-
Initial route when app starts
const NavigationAction('initial')
- deepLink → const NavigationAction
-
Deep link navigation
const NavigationAction('deep_link')
- redirect → const NavigationAction
-
Redirect to another route
const NavigationAction('redirect')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
String representation of the navigation action, used for serialization.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
NavigationAction> - A constant List of the values in this enum, in order of their declaration.