CalendarEvent constructor

const CalendarEvent({
  1. required String title,
  2. String? subtitle,
  3. required DateTime startDate,
  4. required DateTime? endDate,
})

Implementation

const CalendarEvent({
  required this.title,
  this.subtitle,
  required this.startDate,
  required this.endDate,
});