SwipeIcon
fun RowScope.SwipeIcon(imageVector: ImageVector, contentDescription: String?, tint: Color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current), background: Color = Color.White, iconSize: Dp = 16.dp, weight: Float = 1.0f, onClick: () -> Unit)
Created By Kevin Zou On 2023/10/18
Wrap the Icon into the SwipeContent with required size so that the icon size will not change with the outside container
fun RowScope.SwipeIcon(background: Color = Color.White, painter: Painter, contentDescription: String?, iconSize: Dp = 16.dp, tint: Color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current), weight: Float = 1.0f, onClick: () -> Unit)