isTomorrow static method

bool isTomorrow(
  1. DateTime date
)

Check if a date is tomorrow

Implementation

static bool isTomorrow(DateTime date) {
  final tomorrow = DateTime.now().add(const Duration(days: 1));
  return isSameDay(date, tomorrow);
}