Answers for "material button radius 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
0

flutter rounded ElevatedButton

ElevatedButton(
  onPressed: () {},
  style: ElevatedButton.styleFrom(
  	shape: new RoundedRectangleBorder(
    	borderRadius: new BorderRadius.circular(30.0),
  	),
  ),
  child: Text(
    "Click ME!!"
  ),
)
Posted by: Guest on September-19-2021
1

how to set button radius in flutter

RaisedButton(  shape: StadiumBorder(),  onPressed: () {},  child: Text("Button"),)
Posted by: Guest on August-29-2020

Code answers related to "material button radius flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language