The direction in which a Dismissible can be dismissed.

Constants

down DismissDirection

The Dismissible can be dismissed by dragging down only.

const DismissDirection(5)
endToStart 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).

const DismissDirection(2)
horizontal DismissDirection

The Dismissible can be dismissed by dragging either left or right.

const DismissDirection(1)
startToEnd DismissDirection

The Dismissible can be dismissed by dragging in the reading direction (e.g., from left to right in left-to-right languages).

const DismissDirection(3)
up DismissDirection

The Dismissible can be dismissed by dragging up only.

const DismissDirection(4)
values List<DismissDirection>

A constant List of the values in this enum, in order of their declaration.

const List<DismissDirection>
vertical DismissDirection

The Dismissible can be dismissed by dragging either up or down.

const DismissDirection(0)

Properties

index int

The integer index of this enum.

final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(other) bool
The equality operator. [...]
inherited