SwipeContent
fun RowScope.SwipeContent(background: Color = Color.White, weight: Float = 1.0f, onClick: () -> Unit, content: @Composable () -> Unit)
Created By Kevin Zou On 2023/10/18
Wrap the real content into a box with weight set and align the content at center
Parameters
background
the background color of the box
weight
the weight of the box
onClick
the action to be executed when the box is clicked
content
the real content of the box