Answers for "flutter edit color of raised button"

2

flutter raisedbutton example

RaisedButton(child: Text("Rock & Roll"),
                onPressed: _changeText,
                color: Colors.red,
                textColor: Colors.yellow,
                padding: EdgeInsets.fromLTRB(10, 10, 10, 10),
                splashColor: Colors.grey,
              )
Posted by: Guest on April-15-2020
1

raised button background color doesn't changeflutter

RaisedButton(
              onPressed: null,
              child: Text('Get in'), // change it to sign-in
              color: Colors.blue,
              disabledColor: Colors.blue,//add this to your code
            )
Posted by: Guest on October-19-2020

Code answers related to "flutter edit color of raised button"

Browse Popular Code Answers by Language