SwipeDirection enum

The direction in which a Swipeable can be swiped.

Inheritance

Constructors

SwipeDirection()
const

Values

horizontal → const SwipeDirection

The Swipeable can be swiped by dragging either left or right.

endToStart → const SwipeDirection

The Swipeable can be swiped by dragging in the reverse of the reading direction (e.g., from right to left in left-to-right languages).

startToEnd → const SwipeDirection

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

none → const SwipeDirection

The Swipeable cannot be swiped by dragging.

Properties

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

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<SwipeDirection>
A constant List of the values in this enum, in order of their declaration.