Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

How to change background color of Elevated Button in flutter

ElevatedButton(
              style: ElevatedButton.styleFrom(
                primary: Colors.amber,
              ), 
              child: Text('ElevatedButton'),
              onPressed: () {},
            ),
 
PREVIOUS NEXT
Tagged: #How #change #background #color #Elevated #Button #flutter
ADD COMMENT
Topic
Name
5+2 =