Hey folks, is there an easy way to say tell a Butt...
# compose
g
Hey folks, is there an easy way to say tell a Button to use secondary colours without having to go through and define all the properties for ButtonColors ?
j
Take a look at
ButtonDefaults
object, there are functions like
outlinedButtonColors()
that might help you.
s
Use ButtonColors.Default.copy(colorPropertyToChange=desiredColor)
👍 1