Answers for "how to define border radius in 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
4

rounded button flutter

FlatButton(
              color: Colors.red,
              shape: RoundedRectangleBorder(
                  borderRadius: BorderRadius.circular(18.0)),
              child: new Text('round button'),
              onPressed: () {},
            ),
Posted by: Guest on June-30-2020

Code answers related to "how to define border radius in elevated button flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language