IconicaAlertDialog.yesOrNo constructor
Implementation
factory IconicaAlertDialog.yesOrNo({
required String title,
required String body,
required VoidCallback onYes,
required VoidCallback onNo,
bool focusYes = true,
bool otherSecondary = false,
bool? closeButton,
ButtonCallback? primaryButton,
ButtonCallback? secondaryButton,
IconButtonCallback? iconButton,
}) =>
IconicaAlertDialog.multiButton(
primaryButton: primaryButton,
secondaryButton: secondaryButton,
iconButton: iconButton,
closeButton: closeButton,
title: title,
body: body,
buttons: _getYesNoDialogButtons(focusYes, otherSecondary, onYes, onNo),
);