buttons property

List<NativeMacosDialogButton> buttons
final

List of buttons that the dialog has. Please note that if there is no button, the user cannot close the dialog unless he closes the whole app. The same also applies when all buttons are disabled (onPressed is null)

Implementation

final List<NativeMacosDialogButton> buttons;