CalendarEvent constructor

const CalendarEvent({
  1. required String title,
  2. String? description,
  3. required DateTime startDate,
  4. DateTime? endDate,
  5. bool allDay = false,
  6. String? location,
  7. List<String>? attendees,
})

Creates a CalendarEvent instance.

Implementation

const CalendarEvent({
  required this.title,
  this.description,
  required this.startDate,
  this.endDate,
  this.allDay = false,
  this.location,
  this.attendees,
});