should Expand On Upward Drag
open fun shouldExpandOnUpwardDrag(dragDurationMillis: Long, @FloatRange(from = 0.0,
Checks whether the bottom sheet should be expanded after it has been released after dragging.
Parameters
drag Duration Millis
how long the bottom sheet was dragged.
y Position Percentage
position of the bottom sheet when released after dragging. Lower values mean that view was released closer to the top of the screen.