isTomorrow property

bool get isTomorrow

Return true if the date is tomorrow

Implementation

bool get isTomorrow {
  final DateTime tomorrow = DateTime.now().add(const Duration(days: 1));
  return tomorrow.day == day && tomorrow.month == month && tomorrow.year == year;
}