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.
Read moreWhat is RaisedButton flutter?
RaisedButton is the material design button based on a Material widget that elevates when pressed upon in flutter . It is one of the most widely used buttons in the flutter library.30 Nis 2021
Read more