SwipeToDismissBoxDefaults

object SwipeToDismissBoxDefaults


Contains defaults for SwipeToDismissBox.

Summary

Public properties

SpringSpec<Float>

The default animation that will be used to animate to a new state after the swipe gesture.

Dp

The default width of the area which might trigger a swipe with edgeSwipeToDismiss modifier

Public properties

AnimationSpec

Added in 1.0.0
Deprecated in 1.4.0
val AnimationSpecSpringSpec<Float>

The default animation that will be used to animate to a new state after the swipe gesture.

EdgeWidth

Added in 1.0.0
Deprecated in 1.4.0
val EdgeWidthDp

The default width of the area which might trigger a swipe with edgeSwipeToDismiss modifier