showError method
Set your error message and its style
Implementation
void showError(String errorMessage, {TextStyle? errorStyle}) {
tagStates['error']['error_text'] = errorMessage;
tagStates['show_validator'] = true;
if (errorStyle != null) {
tagStates['error']['error_style'] = errorStyle;
}
super.notifyListeners();
}