DismissDirection enum

The direction in which a Dismissible can be dismissed.

Constants

down → const DismissDirection

The Dismissible can be dismissed by dragging down only.

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

const DismissDirection(2)
horizontal → const DismissDirection

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

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

const DismissDirection(3)
up → const DismissDirection

The Dismissible can be dismissed by dragging up only.

const DismissDirection(4)
values → const List<DismissDirection>

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

const List<DismissDirection>
vertical → const 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

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

Operators

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