errorText property

String? errorText
final

The error displayed below the input.

If you want to have custom error messages for different types of error, use validator.

Implementation

final String? errorText;