Object

SwipeToDismissBoxDefaults

Contains defaults for SwipeToDismissBox.

Source set: Android

Deprecated

Please import SwipeToDismissBoxDefaults from androidx.wear.compose.foundation.

public object SwipeToDismissBoxDefaults

Contains defaults for SwipeToDismissBox.

Properties

AnimationSpec

Source set: Android
public val AnimationSpec: SpringSpec<Float>

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

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

Last updated: