hasError property

  1. @override
bool hasError
override

True if this field has any validation errors.

Implementation

@override
bool get hasError => super.hasError || errorText != null;