errorText property
final
Text that appears below the InputDecorator.child and the border.
If non-null, the border's color animates to red and the helperText is not shown.
In a TextFormField, this is overridden by the value returned from TextFormField.validator, if that is not null.
If a more elaborate error is required, consider using error instead.
Implementation
final String? errorText;