DismissDirection enum Null safety

The direction in which a Dismissible can be dismissed.

Inheritance

Constructors

DismissDirection()
const

Values

vertical → const DismissDirection

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

DismissDirection()
horizontal → const DismissDirection

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

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

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

DismissDirection()
up → const DismissDirection

The Dismissible can be dismissed by dragging up only.

DismissDirection()
down → const DismissDirection

The Dismissible can be dismissed by dragging down only.

DismissDirection()
none → const DismissDirection

The Dismissible cannot be dismissed by dragging.

DismissDirection()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[vertical, horizontal, endToStart, startToEnd, up, down, none]