Start native apps faster with the Composables CLI ->
Object

SwipeToDismissBoxDefaults

Contains defaults for BasicSwipeToDismissBox.

Source set: Android
public object SwipeToDismissBoxDefaults

Contains defaults for BasicSwipeToDismissBox.

Properties

AnimationSpec

Source set: Android
public val AnimationSpec: SpringSpec<Float> = SwipeableV2Defaults.AnimationSpec

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

EdgeWidth

Source set: Android
public val EdgeWidth: Dp = 30.dp

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