isToday property
bool
get
isToday
Checks if the DateTime is today.
Implementation
bool get isToday {
final now = DateTime.now();
return isSame(now, unit: TimeUnit.day);
}
Checks if the DateTime is today.
bool get isToday {
final now = DateTime.now();
return isSame(now, unit: TimeUnit.day);
}