Flutter
widgets
FormFieldState
<
T
>
hasError property
hasError
FormFieldState class
Constructors
FormFieldState
Properties
errorText
hasError
value
context
hashCode
mounted
runtimeType
widget
Methods
build
deactivate
didChange
initState
reset
save
setValue
validate
debugFillProperties
didChangeDependencies
didUpdateWidget
dispose
noSuchMethod
reassemble
setState
toDiagnosticsNode
toString
toStringShort
Operators
operator ==
hasError property
bool
hasError
True if this field has any validation errors.
Implementation
bool get hasError => _errorText != null;