0

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?

Craig.Pearce
  • 746
  • 7
  • 25

1 Answers1

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