remember Draggable State
fun rememberDraggableState(orientation: Orientation = Orientation.Horizontal): AnchoredDraggableState<Float>
Parameters
proportion
百分比,即该手势范围占页面的多少。
progress
手势的进度,0-1
orientation
手势的方向
百分比,即该手势范围占页面的多少。
手势的进度,0-1
手势的方向