actionsPadding property

EdgeInsetsGeometry actionsPadding

Padding around the set of actions at the bottom of the dialog.

Typically used to provide padding to the button bar between the button bar and the edges of the dialog.

If are no actions, then no padding will be included. The padding around the button bar defaults to zero. It is also important to note that buttonPadding may contribute to the padding on the edges of actions as well.

This is an example of a set of actions aligned with the content widget.
  title: Text('Title'),
  content: Container(width: 200, height: 200, color:,
  actions: <Widget>[
    RaisedButton(onPressed: () {}, child: Text('Button 1')),
    RaisedButton(onPressed: () {}, child: Text('Button 2')),
  actionsPadding: EdgeInsets.symmetric(horizontal: 8.0),

See also:


final EdgeInsetsGeometry actionsPadding