Answers for "how to set elevated button to roundercorner in 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
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

Code answers related to "how to set elevated button to roundercorner in flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language