Nicolai
08/09/2025, 12:02 PMPriyanka Fulwari
08/09/2025, 3:52 PMModifier.drawBehind
, you can use below code
Modifier.drawWithContent {
drawContent()
drawRect(
color = Color.Black.copy(alpha = 0.5f),
blendMode = BlendMode.SrcOver
)
}
let me know if this helpsNicolai
08/09/2025, 3:55 PMPriyanka Fulwari
08/09/2025, 4:42 PMMichael Paus
08/10/2025, 7:50 AMromainguy
08/11/2025, 5:22 PMblendMode = BlendMode.SrcOver
this is unnecessary, SrcOver
is the defaultJobby
08/11/2025, 11:08 PM