hide

suspend fun hide()

Hide the bottom sheet with animation and suspend until it is fully hidden or animation has been cancelled.

Throws

CancellationException

if the animation is interrupted