Answers for "add some border radius to button 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

flutter outlinedbutton border radius

OutlinedButton(
  child: Text('Woolha.com'),
  style: OutlinedButton.styleFrom(
    primary: Colors.white,
    backgroundColor: Colors.teal,
    shape: const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(10))),
  ),
)
Posted by: Guest on September-05-2021

Code answers related to "add some border radius to button in flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language