Object

SwipeToDismissBoxDefaults

Contains defaults for SwipeToDismissBox.

Source set: Android
public object SwipeToDismissBoxDefaults

Contains defaults for SwipeToDismissBox.

Properties

AnimationSpec

Source set: Android
public val AnimationSpec: SpringSpec<Float> = SwipeableDefaults.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

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: