isTomorrow property

bool get isTomorrow

Whether this date is tomorrow.

Implementation

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