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