Object

SwipeToDismissBoxDefaults

Contains default values for SwipeToDismissBox and SwipeToDismissBoxState.

Source set: Common
public object SwipeToDismissBoxDefaults

Contains default values for SwipeToDismissBox and SwipeToDismissBoxState.

Properties

positionalThreshold

Source set: Common
public val positionalThreshold: (totalDistance: Float) -> Float

Default positional threshold of 56.dp for SwipeToDismissBoxState.

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: