hasError property

bool get hasError

Whether the field shows an error.

Implementation

bool get hasError => errorText != null;