hasError property

bool get hasError

True if this field has any validation errors.

Implementation

bool get hasError => _errorText.value != null;