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