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