GestureState

Types

Link copied to clipboard

Content was dismissed. At this point, FlickToDismiss is no longer usable and must be removed from composition.

Link copied to clipboard
class Dismissing(val animationDuration: Duration) : FlickToDismissState.GestureState
Link copied to clipboard
class Dragging(val willDismissOnRelease: Boolean) : FlickToDismissState.GestureState
Link copied to clipboard

Content is resting at its default position with no ongoing drag gesture.

Link copied to clipboard

Content is settling back to its default position after it was released because the drag distance wasn't sufficient to dismiss the content.