Answers for "flat button with radius"

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
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 "Dart"

Browse Popular Code Answers by Language