static String showDate(DateTime? date, {String format = 'dd/MM/yyyy'}) { if (date == null) { return ''; } return DateFormat(format).format(date); }