static String Function(String?) requiredString(String message) { return (String? value) => (value?.isEmpty ?? true) ? message : ''; }