hasError property

bool hasError

True if this field has any validation errors.

Implementation

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