How do you give a RaisedButton color in flutter?

to Change Background color of Elevated Button in Flutter Elevated Button has a style Property And style property need ButtonStyle(). ButtonStyle has backgroundColor property which requires MaterialStateProperty. You can simply assign background color by MaterialStateProperty. all<Color>(Colors.

Sizin İçin Seçtik  How do you create a text button in flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *