isToday property
bool
isToday
Implementation
bool get isToday {
final nowDate = DateTime.now();
return year == nowDate.year && month == nowDate.month && day == nowDate.day;
}
bool get isToday {
final nowDate = DateTime.now();
return year == nowDate.year && month == nowDate.month && day == nowDate.day;
}