Answers for "elevated button background color color in flutter"

6

Flutter Elevated button color

ElevatedButton(
            child: Text('Button'),
            onPressed: () {},
            style: ButtonStyle(
                backgroundColor: MaterialStateProperty.all(Colors.red),
                padding: MaterialStateProperty.all(EdgeInsets.all(50)),
                textStyle: MaterialStateProperty.all(TextStyle(fontSize: 30))),
),
Posted by: Guest on June-01-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 "elevated button background color color in flutter"

Browse Popular Code Answers by Language