Проверяет является ли заданная дата текущей.
static bool isCurrentDate(DateTime date) { final dateNow = now(); return isSameDay(date, dateNow); }