DismissDirection enum
The direction in which a Dismissible can be dismissed.
Values
- vertical → const DismissDirection
-
The Dismissible can be dismissed by dragging either up or down.
- horizontal → const DismissDirection
-
The Dismissible can be dismissed by dragging either left or right.
- endToStart → const DismissDirection
-
The Dismissible can be dismissed by dragging in the reverse of the reading direction (e.g., from right to left in left-to-right languages).
- startToEnd → const DismissDirection
-
The Dismissible can be dismissed by dragging in the reading direction (e.g., from left to right in left-to-right languages).
- up → const DismissDirection
-
The Dismissible can be dismissed by dragging up only.
- down → const DismissDirection
-
The Dismissible can be dismissed by dragging down only.
- none → const DismissDirection
-
The Dismissible cannot be dismissed by dragging.
Properties
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<
DismissDirection> - A constant List of the values in this enum, in order of their declaration.