errorText property

String errorText
final

Text that appears below the input 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.

Implementation

final String errorText