isTomorrow property

bool get isTomorrow

判断是否是明天

Implementation

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