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