showError static method
Implementation
static void showError(BuildContext context, String title, String message) {
if (context.mounted) {
WidgetsBinding.instance.addPostFrameCallback((_) {
if (context.mounted) {
QuickAlert.show(
context: context,
type: QuickAlertType.error,
title: title,
text: message,
);
}
});
}
}