showErrorMessage method
Implementation
void showErrorMessage(String message, {String? title}) {
if (AlertController.instance.onShowInfo == null) {
alertRequestQueue.add(
AlertRequest(
message: message,
title: title,
requestType: AlertRequestType.error,
),
);
redraw();
} else {
AlertController.instance.onShowError?.call(
message: message,
title: title,
);
}
}