showAlertDialogCustom3 function
dynamic
showAlertDialogCustom3({
- String? title,
- String? message,
- String cancel = "取消",
- GestureTapCallback? onCancel,
- String confirm = "确定",
- GestureTapCallback? onConfirm,
- BuildContext? context,
Implementation
dynamic showAlertDialogCustom3({
String? title,
String? message,
String cancel = "取消",
GestureTapCallback? onCancel,
String confirm = "确定",
GestureTapCallback? onConfirm,
BuildContext? context,
}) {
return showCustomAlterDialog(
context!,
title: title ?? "",
message: message ?? "",
cancel: cancel,
confirm: confirm,
cancelColor: const Color(0xff1989FA),
confirmColor: const Color(0xff323233),
onCancel: onCancel,
onConfirm: onConfirm,
);
}