baseShowConfirm function
Implementation
Future<bool> baseShowConfirm(
String title,
String content,
Function()? onCancel,
Function()? onConfirm,
) async {
return await SmartDialog.show(
builder: (context) => BaseConfirm(
title: title,
content: content,
onCancel: onCancel,
onConfirm: onConfirm,
),
);
}