The direction in which a Dismissable can be dismissed.

Constants

down DismissDirection

The Dismissable can be dismissed by dragging down only.

const DismissDirection(5)
endToStart DismissDirection

The Dismissable 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 Dismissable can be dismissed by dragging either left or right.

const DismissDirection(1)
startToEnd DismissDirection

The Dismissable 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 Dismissable 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 Dismissable can be dismissed by dragging either up or down.

const DismissDirection(0)

Properties

index int
read-only
hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

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