SwipeToDismissBoxDefaults


object SwipeToDismissBoxDefaults


Contains defaults for BasicSwipeToDismissBox.

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.4.0-alpha07
val AnimationSpecSpringSpec<Float>

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

EdgeWidth

Added in 1.4.0-alpha07
val EdgeWidthDp

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