Inertia

sealed interface Inertia(source)

Released-motion policy for enabled content dragging.

Inheritors

Types

Link copied to clipboard

Stops the content when the pointer is released.

Link copied to clipboard
data class Enabled(val deceleration: Double = 9.0) : DragScrollOptions.Inertia

Continues a released drag on explicitly timed frames.