actions property

List<Widget>? actions
final

The list of action buttons or widgets at the bottom of the dialog.

Type: List<Widget>?

Usage: Place interactive elements like TextButton for OK/Cancel. Actions are right-aligned and spaced. For Confirm, this includes Yes/No buttons; empty lists hide the actions row.

Implementation

final List<Widget>? actions;