Answers for "backgroundColor ButtonStyle flutter elevated"

1

How to change background color of Elevated Button in flutter

ElevatedButton(
              style: ElevatedButton.styleFrom(
                primary: Colors.amber,
              ), 
              child: Text('ElevatedButton'),
              onPressed: () {},
            ),
Posted by: Guest on August-24-2021
0

elevated Button Theme background color in flutter

style: ElevatedButton.styleFrom(
              primary: Colors.purple,
            ),
Posted by: Guest on April-06-2021

Code answers related to "backgroundColor ButtonStyle flutter elevated"

Browse Popular Code Answers by Language