DashedSwipeButton

fun DashedSwipeButton(modifier: Modifier = Modifier, text: String = "Swipe to confirm", state: SwipeButtonState = rememberSwipeButtonState(), indicatorColor: Color = MaterialTheme.colorScheme.primary)

A pre-styled SwipeButton featuring a dashed border effect.

Parameters

modifier

The Modifier to be applied to the button.

text

The label displayed inside the swipe area.

state

The state of the button.

indicatorColor

The color of the draggable handle.