types library
Classes
Enums
- ControllerCommandTypes
- Enum describing commands that cam sent into the controller
- DragState
- Enum to track the current state of manual dragging or animation
- ScrollDirection
- Sent as part of a ScrollEventCallback to track progress of swipe events FORWARD is emitted when the user swipes up (ie the index of the array increases), BACKWARDS is emitted when scrolled in the opposite direction.
- ScrollSuccess
- 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.
Typedefs
- ScrollEventCallback = void Function(ScrollEvent event)
- The type used to encapsulate events related to scrolling