showErrorAlert static method
Show an error alert
Implementation
static void showErrorAlert({String? title, String? message}) {
_showDialog(
title: title ?? "Error",
content: message,
icon: Icons.error_outline_rounded,
color: Colors.redAccent,
);
}