NavigationStyle enum
Navigation styles supported by StacNavigateAction.
These correspond to common Navigator operations in Flutter.
Values
- push → const NavigationStyle
-
Push a new route onto the stack.
- pop → const NavigationStyle
-
Pop the current route.
- pushReplacement → const NavigationStyle
-
Replace the current route by pushing a new one and disposing the previous.
- pushAndRemoveAll → const NavigationStyle
-
Push a new route and remove all the previous routes.
- popAll → const NavigationStyle
-
Pop all routes until the first.
- pushNamed → const NavigationStyle
-
Push a named route.
- pushNamedAndRemoveAll → const NavigationStyle
-
Push a named route and remove all previous routes.
- pushReplacementNamed → const NavigationStyle
-
Replace current route with a named route.
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
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
Constants
-
values
→ const List<
NavigationStyle> - A constant List of the values in this enum, in order of their declaration.