actions property

List<Widget> actions

Widgets to display after the title widget.

Typically these widgets are IconButtons representing common operations. For less common operations, consider using a PopupMenuButton as the last action.

For example:

return new Scaffold(
appBar: new AppBar(
title: new Text('Hello World'),
actions: <Widget>[
new IconButton(
icon: new Icon(Icons.shopping_cart),
tooltip: 'Open shopping cart',
onPressed: _openCart,
body: _buildBody(),


final List<Widget> actions