static String? required(String? value) { if (value == null || value.trim().isEmpty) { return 'Questo campo non può essere vuoto'; } return null; }