SwipeToDismissBox
@Composable
A composable that can be dismissed by swiping left or right.
Parameters
state
The state of this component.
modifier
Optional Modifier for this component.
enableDismissFromStartToEnd
Whether SwipeToDismissBox can be dismissed from start to end.
enableDismissFromEndToStart
Whether SwipeToDismissBox can be dismissed from end to start.
gesturesEnabled
Whether swipe-to-dismiss can be interacted by gestures.
content
The content that can be dismissed.