hasValidationErrors property

bool get hasValidationErrors

Whether the state currently contains validation errors.

Implementation

bool get hasValidationErrors => state.errors.isNotEmpty;