showAlertDialog function

dynamic showAlertDialog(
  1. BuildContext context,
  2. String title,
  3. void onConfirm()?, {
  4. String? message,
  5. bool showIcon = false,
})

Implementation

dynamic showAlertDialog(BuildContext context, String title, void Function()? onConfirm, {String? message, bool showIcon = false}) {
  return showAlertDialogCustom(title: title, message: message, onConfirm: onConfirm, context: context);
}