showConfirm function
show confirm dialog
Implementation
void showConfirm(BuildContext context, String message, Function onAccept,
{Function? onCancel}) async {
await showConfirmation(context, message, onAccept, onCancel: onCancel);
}
show confirm dialog
void showConfirm(BuildContext context, String message, Function onAccept,
{Function? onCancel}) async {
await showConfirmation(context, message, onAccept, onCancel: onCancel);
}