Checks if date is today.
static bool isToday(DateTime date) { final now = DateTime.now(); return now.year == date.year && now.month == date.month && now.day == date.day; }