isRangingEvent property

bool get isRangingEvent

If this flag returns true that means event is occurring on multiple days and is not a full day event.

Implementation

bool get isRangingEvent {
  final diff = endDate.withoutTime.difference(date.withoutTime).inDays;

  return diff > 0 && !isFullDayEvent;
}