String formatDate(String dateString) { var date = DateTime.tryParse(dateString) ?? DateTime.now(); return '${date.day}/${date.month}/${date.year}'; }