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
Jan BĂna
03/13/2021, 2:15 PM
Take a look at
ButtonDefaults
object, there are functions like
outlinedButtonColors()
that might help you.
s
Samir Basnet
03/15/2021, 2:23 PM
Use ButtonColors.Default.copy(colorPropertyToChange=desiredColor)