String? notEmptyValidator(String? value) { if (value == null || value.trim().isEmpty) { return 'Campo obbligatorio'; } return null; }