remember Flick To Dismiss State
fun rememberFlickToDismissState(dismissThresholdRatio: Float = 0.2f, rotateOnDrag: Boolean = true): FlickToDismissState
Create a FlickToDismissState that can be used with FlickToDismiss().
Parameters
dismiss Threshold Ratio
Minimum distance the user's finger should move as a fraction of the content's height after which it can be dismissed.
rotate On Drag
When enabled, a subtle rotation is applied to the content while its being dragged.