ScrollSuccess enum

Sent as part of a ScrollEventCallback to track progress of swipe events SUCCESS is emitted for a successful swipe events, FAILED_THRESHOLD_NOT_REACHED is emitted when a drag event doesn't meet the translation of velocity requirements of a swipe event. Finally, FAILED_END_OF_LIST is emitted when a user tries to go beyond the bounds of the array (either start or end) of the list.

Inheritance

Constructors

ScrollSuccess()
const

Values

SUCCESS → const ScrollSuccess
FAILED_THRESHOLD_NOT_REACHED → const ScrollSuccess
FAILED_END_OF_LIST → const ScrollSuccess

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