AnchoredDragScope

Scope used for suspending anchored drag blocks. Allows to set UnstyledAnchoredDraggableState.offset to a new value.

See also

to learn how to start the anchored drag and get the access to this scope.

Functions

Link copied to clipboard
abstract fun dragTo(newOffset: Float, lastKnownVelocity: Float = 0.0f)

Assign a new value for an offset value for UnstyledAnchoredDraggableState.