Draggable State
interface DraggableState
State of draggable. Allows for a granular control of how deltas are consumed by the user as well as to write custom drag methods using drag suspend function.
Functions
Link copied to clipboard
Dispatch drag delta in pixels avoiding all drag related priority mechanisms.
Link copied to clipboard
abstract suspend fun drag(dragPriority: MutatePriority = MutatePriority.Default, block: suspend DragScope.() -> Unit)
Call this function to take control of drag logic.