errorText property Null safety

String? errorText

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.


final String? errorText;