InternalCalendarEvent constructor

InternalCalendarEvent({
  1. required DateTime startDate,
  2. required DateTime endDate,
  3. required String title,
  4. required Color background,
  5. String? iconUrl,
  6. required Color textColor,
  7. required String id,
})

Implementation

InternalCalendarEvent({
  // Changed to public
  required this.startDate,
  required this.endDate,
  required this.title,
  required this.background,
  this.iconUrl,
  required this.textColor,
  required this.id, // Changed from elementId to id
});