flat button shape flutter code example
Example 1: flat button rounded shape
new OutlineButton(
child: new Text("Button text"),
onPressed: null,
shape: new RoundedRectangleBorder(borderRadius: new BorderRadius.circular(30.0))
)
Example 2: flatbutton flutter
FlatButton(
onPressed: () {
/*...*/
},
child: Text(
"Flat Button",
),
)