hasError property
bool
get
hasError
whether the input is in error state
Implementation
bool get hasError => _state?._error != null;
whether the input is in error state
bool get hasError => _state?._error != null;