SyntaxFix
Write A Post
Hire A Developer
Questions
You can also achieve it by using StadiumBorder shape
StadiumBorder shape
FlatButton( onPressed: () {}, child: Text('StadiumBorder'), shape: StadiumBorder(), color: Colors.pink, textColor: Colors.white, ),