isToday property

bool get isToday

Whether this DateTime falls on today (same year, month, and day as DateTime.now).

Implementation

bool get isToday => _isSameDay(DateTime.now());