Returns true if the field has an error or has a custom error text.
true
@override /// Returns `true` if the field has an error or has a custom error text. bool get hasError => super.hasError || errorText != null;