isTomorrow property

bool isTomorrow

Returns true if given date is tomorrow

Implementation

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

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