how to radius button in flutter code example
Example 1: rounded raisedbutton in flutter
RaisedButton(
onPressed: () {},
color: Colors.amber,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10)),
child: Text("Click This"),
)
Example 2: how to set button radius in flutter
RaisedButton( shape: StadiumBorder(), onPressed: () {}, child: Text("Button"),)