flutter buttonbar code example
Example: buttonbar flutter example
ButtonBar(
children: <Widget>[
FlatButton(
child: Text('Ok'),
color: Colors.blue,
onPressed: () {/** */},
),
FlatButton(
child: Text('Cancel'),
color: Colors.blue,
onPressed: () {/** */},
),
],
)