Answers for "how to set border radius of material byutton in flutter"

4

rounded raisedbutton in flutter

RaisedButton(
                onPressed: () {},
                color: Colors.amber,
                shape: RoundedRectangleBorder(
                    borderRadius: BorderRadius.circular(10)),
                child: Text("Click This"),
              )
Posted by: Guest on August-29-2020
1

round border button flutter

RawMaterialButton(
  onPressed: () {},
  elevation: 2.0,
  fillColor: Colors.white,
  child: Icon(
    Icons.pause,
    size: 35.0,
  ),
  padding: EdgeInsets.all(15.0),
  shape: CircleBorder(),
)
Posted by: Guest on January-21-2021

Code answers related to "how to set border radius of material byutton in flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language