animateTo

suspend fun animateTo(value: SheetDetent)

Animates the sheet to the given SheetDetent


suspend fun animateTo(value: SheetDetent, velocity: Float = anchoredDraggableState.lastVelocity)

Deprecated

Velocity can no longer be set

Replace with

animateTo(value)