IconicaAlertDialog.custom constructor

IconicaAlertDialog.custom(
  1. {required Widget body,
  2. required List<AlertDialogAction> buttons,
  3. bool? closeButton,
  4. ButtonCallback? primaryButton,
  5. ButtonCallback? secondaryButton,
  6. IconButtonCallback? iconButton}
)

Implementation

factory IconicaAlertDialog.custom({
  required Widget body,
  required List<AlertDialogAction> buttons,
  bool? closeButton,
  ButtonCallback? primaryButton,
  ButtonCallback? secondaryButton,
  IconButtonCallback? iconButton,
}) =>
    IconicaAlertDialog._(
      closeButton: closeButton,
      buttons: buttons,
      body: (_) => body,
      primaryButton: primaryButton,
      secondaryButton: secondaryButton,
      iconButton: iconButton,
    );