customErrorMessage property

String? customErrorMessage
final

An optional string that is used to set error message for the input.

If the error message not provided, the default error message will be displayed. If the error message is provided, the custom error message will be displayed first and the default error messages will be displayed after the custom error message.

Implementation

final String? customErrorMessage;