isToday property
bool
get
isToday
Check if the date is today
Implementation
bool get isToday {
final nowDate = DateTime.now();
return year == nowDate.year && month == nowDate.month && day == nowDate.day;
}