static String getDayOfWeek(DateTime dateTime) { var formatter = DateFormat('EEEE'); return formatter.format(dateTime); }