alphaValidationMessage method

String alphaValidationMessage(
  1. String fieldName
)

Generates a validation error message for a field that should contain only alphabetic characters.

This message indicates that the fieldName must contain only alphabetic characters.

Implementation

String alphaValidationMessage(String fieldName) {
  return Intl.message(
    '$fieldName must contain only alphabetic characters.',
    name: 'alphaValidationMessage',
    desc:
        'Validation message for a field that should contain only alphabetic characters',
    args: [fieldName],
    locale: localeName,
  );
}