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