SwipeToDismissBoxDefaults

object SwipeToDismissBoxDefaults


Contains defaults for SwipeToDismissBox.

Summary

Public properties

SpringSpec<Float>

This property is deprecated. Please import SwipeToDismissBoxDefaults from androidx.wear.compose.foundation.

Dp

This property is deprecated. Please import SwipeToDismissBoxDefaults from androidx.wear.compose.foundation.

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