errorFormatText property

String? errorFormatText
final

This is the error message displayed when the input text is not a proper date format.

For example, if the date format was 'MM-dd-yyyy', and the user enters 'Monday' this message will be displayed. If null, this defaults to 'Invalid format.'.

Implementation

final String? errorFormatText;