StacDismissDirection enum
Direction(s) in which a dismissible widget can be dismissed.
Mirrors Flutter's DismissDirection
without importing Flutter into core.
Values
- horizontal → const StacDismissDirection
-
Can be dismissed horizontally in either direction.
- vertical → const StacDismissDirection
-
Can be dismissed vertically in either direction.
- down → const StacDismissDirection
-
Can be dismissed by dragging down.
- up → const StacDismissDirection
-
Can be dismissed by dragging up.
- endToStart → const StacDismissDirection
-
Can be dismissed by dragging from end to start (right to left in LTR).
- startToEnd → const StacDismissDirection
-
Can be dismissed by dragging from start to end (left to right in LTR).
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<
StacDismissDirection> - A constant List of the values in this enum, in order of their declaration.