Change colour of raisedbutton?

92 views Asked by At

I have tried to change the colour of a RaisedButton using button.tintColour = MaterialColor.blue.lighten2 but that doesn't result in a change of the button. Is there something I am missing?

1

There are 1 answers

1
Kyle Redfearn On BEST ANSWER

The tintColor on a UIButton by default only changes the color of the text. Try setting its backgroundColor