DialogBox constructor
DialogBox({})
Supply the Dialog window's buttons and Callback routines.
Implementation
DialogBox({
this.title,
Option? button01,
Option? button02,
VoidCallback? press01,
VoidCallback? press02,
bool? switchButtons,
this.body,
this.actions,
this.barrierDismissible = false,
}) {
this.button01 = button01;
this.button02 = button02;
this.press01 = press01;
this.press02 = press02;
this.switchButtons = switchButtons;
}