borderRadius: BorderRadius.circular(40), code example
Example 1: how to set button radius in flutter
RaisedButton( shape: StadiumBorder(), onPressed: () {}, child: Text("Button"),)
Example 2: how to change the shape of a buton in flutter to cicular
RawMaterialButton(
...,
shape: CircleBorder(),
)