fileSizeValidationMessage method
Implementation
String fileSizeValidationMessage(String fieldName, int size) {
return Intl.message(
'$fieldName must be less than $size KB.',
name: 'fileSizeValidationMessage',
desc:
'Validation message for a field that must be less than a specific size',
args: [fieldName, size],
locale: localeName,
);
}