dateToStringDDMMYYYY static method

String dateToStringDDMMYYYY(
  1. DateTime? pdate
)

Implementation

static String dateToStringDDMMYYYY(DateTime? pdate) {
  if (pdate == null) {
    return "";
  } else {
    return "${pdate.day < 10 ? "0" : ""}${pdate.day}/${pdate.month < 10 ? "0" : ""}${pdate.month}/${pdate.year}";
  }
}