actions property

List<OneUIDialogAction>? actions
final

The (optional) set of actions that are displayed at the bottom of the dialog.

Typically this is a list of TextButton widgets. It is recommended to set the Text.textAlign to TextAlign.end for the Text within the TextButton, so that buttons whose labels wrap to an extra line align with the overall ButtonBar's alignment within the dialog.

These widgets will be wrapped in a ButtonBar, which introduces 8 pixels of padding on each side.

If the title is not null but the content is null, then an extra 20 pixels of padding is added above the ButtonBar to separate the title from the actions.

Implementation

final List<OneUIDialogAction>? actions;