Sunil Kumar
03/08/2024, 6:01 AMModifier.background(Color.Transparent)
It does not work, but if i use any other color here, it works. Modifier.background(Color.Red)
So i just want to know why its not working and do we have any other way except doing it at theme level by changing the surface color, i dont want to do that. Please need some help.Stylianos Gakis
03/08/2024, 8:35 AMSurface
internally which is not customizable?
Many m3 components have defaults to things like Surface
but give you the option to pass in a custom color insteadStylianos Gakis
03/08/2024, 8:37 AMval colorScheme = MaterialTheme.colorScheme
MaterialTheme(
colorScheme = colorScheme.copy(surface = ...),
) {
DropdownComposable()
}
So you only override it locallySunil Kumar
03/08/2024, 8:47 AMStylianos Gakis
03/08/2024, 8:49 AMSunil Kumar
03/08/2024, 8:53 AM