Answers for "add border to elevated button flutter"

4

flutter elevated button radius

style: ButtonStyle(
  shape: MaterialStateProperty.all<RoundedRectangleBorder>(
    RoundedRectangleBorder(
      borderRadius: BorderRadius.circular(18.0),
      side: BorderSide(color: Colors.red)
    )
  )
)
Posted by: Guest on March-16-2021
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
2

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
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 "add border to elevated button flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language