isToday property
bool
isToday
- return
true
if the date is today,false
otherwise.
Implementation
bool get isToday => isSameDay(DateTime.now());
true
if the date is today, false
otherwise.bool get isToday => isSameDay(DateTime.now());