hasError property
bool
get
hasError
True if this field has any validation errors.
Implementation
bool get hasError => _errorText != null;
True if this field has any validation errors.
bool get hasError => _errorText != null;