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?
Asked
Active
Viewed 71 times
0

Craig.Pearce
- 746
- 7
- 25
1 Answers
1
The tintColor
on a UIButton
by default only changes the color of the text. Try setting its backgroundColor

Kyle Redfearn
- 2,172
- 16
- 34
-
Thanks - that worked. Not sure why I didn't think of that. – Craig.Pearce Feb 12 '16 at 04:24