add button to appbar flutter 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: () {/** */},
),
],
)