roundedBackgroundWithPadding
fun Modifier.roundedBackgroundWithPadding(backgroundColor: Color, cornerRadius: Dp, padding: Dp): Modifier
Extension function for Modifier to add a rounded background with padding.
Return
A Modifier with a rounded background and padding.
Parameters
backgroundColor
The color of the background.
cornerRadius
The radius of the corners.
padding
The padding to be applied.