isTomorrow property

bool get isTomorrow

Returns true if given date is tomorrow

Implementation

bool get isTomorrow {
  final DateTime now = DateTime.now();
  final DateTime tomorrow = DateTime(now.year, now.month, now.day + 1);

  return DateTime(year, month, day) == tomorrow;
}