dateAfterValidationMessage method

String dateAfterValidationMessage(
  1. String fieldName,
  2. String after
)

Generates a validation error message for a date field that must be after another date.

This message indicates that the fieldName must be after after.

Implementation

String dateAfterValidationMessage(String fieldName, String after) {
  return Intl.message(
    '$fieldName must be after $after.',
    name: 'dateAfterValidationMessage',
    desc:
        'Validation message for a date field that must be after another date',
    args: [fieldName, after],
    locale: localeName,
  );
}