hasErrors property

bool get hasErrors
inherited

True whether the control has validation errors.

Implementation

bool get hasErrors => errors.isNotEmpty;