isTomorrow property

bool get isTomorrow

Return true if given date is same as Tomorrow's date.

final checkDate = DateTime.now(); // 16-09-2023
checkDate.nextDay.isTomorrow;     // true
checkDate.isTomorrow;             // false

This will not consider time parameters.

Implementation

bool get isTomorrow {
  final nextDay = tomorrow;
  return year == nextDay.year && month == nextDay.month && day == nextDay.day;
}