BottomAlertDialog.yesOrNoIcon constructor
- {required Widget title,
- required Widget body,
- required Widget icon,
- required VoidCallback onYes,
- required VoidCallback onNo,
- bool focusYes = true,
- bool otherSecondary = false,
- bool? closeButton}
Implementation
factory BottomAlertDialog.yesOrNoIcon({
required Widget title,
required Widget body,
required Widget icon,
required VoidCallback onYes,
required VoidCallback onNo,
bool focusYes = true,
bool otherSecondary = false,
bool? closeButton,
}) =>
BottomAlertDialog.icon(
closeButton: closeButton,
title: title,
body: body,
icon: icon,
buttons: _getYesNoDialogButtons(focusYes, otherSecondary, onYes, onNo),
);