showCustomAlertDialog<T> function
Future<T?>
showCustomAlertDialog<T>({
- required BuildContext context,
- required CustomAlertDialogType type,
- required String title,
- required String content,
Implementation
Future<T?> showCustomAlertDialog<T>({
required BuildContext context,
required CustomAlertDialogType type,
required String title,
required String content,
}) {
return showDialog<T>(
context: context,
builder: (BuildContext context) {
return CustomAlertDialog(
type: type,
title: title,
content: content,
);
},
);
}