hasError property
bool
get
hasError
Whether the field currently has a validation error.
Implementation
bool get hasError => _errorText != null;
Whether the field currently has a validation error.
bool get hasError => _errorText != null;