Hi, Is there any way to set different background c...
# compose
h
Hi, Is there any way to set different background colors for the surface composable from the one defined in the color palette in the material theme? All surface composable background takes the same color as declared in the theme, but what if I want to have a different background color for different surface composable.
r
Surface has a color parameter you can set to change the background
h
@romainguy ohh. Somehow i missed that.Thanks!. Anyway, I was trying to set the color by setting
drawBackground
function in modifier.