🌈 Create new beautiful Compose Gradients with our new wesite ->
Compose Modifier

drawWithContent

Creates a DrawModifier that allows the developer to draw before or after the layout's contents.

drawWithContent

Source set: Common
public fun Modifier.drawWithContent(onDraw: ContentDrawScope.() -> Unit): Modifier

Creates a DrawModifier that allows the developer to draw before or after the layout's contents. It also allows the modifier to adjust the layout's canvas.