SwipeMode enum

An enumeration representing the modes of swipe interaction.

The SwipeMode enum defines the possible directions for swipe gestures and a default state representing no swipe action. It can be used in applications to determine how user swipe inputs should be handled.

Inheritance
Available extensions

Values

up → const SwipeMode

Represents an upward swipe gesture.

This mode indicates that a user has swiped up on the interface, and it can be used to trigger actions or transitions that correspond to upward motion.

down → const SwipeMode

Represents a downward swipe gesture.

This mode indicates that a user has swiped down on the interface, and it can be used to trigger actions or transitions that correspond to downward motion.

none → const SwipeMode

Represents the absence of any swipe gesture.

This mode is used to indicate that no swipe action has occurred, and it can serve as a default state for handling swipe interactions.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<SwipeMode>
A constant List of the values in this enum, in order of their declaration.