FilledSwipeButton

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

A pre-styled SwipeButton with a solid filled background.

Parameters

modifier

The Modifier to be applied to the button.

text

The label displayed inside the swipe area.

state

The state of the button.

containerColor

The background color of the swipe track.