CalendarEvent constructor

const CalendarEvent({
  1. required String id,
  2. required String title,
  3. String? description,
  4. required DateTime startTime,
  5. required DateTime endTime,
  6. bool isAllDay = false,
  7. Color color = Colors.blue,
  8. String? icon,
  9. EventRepeat? repeat,
  10. EventReminder? reminder,
  11. String? location,
  12. List<String>? attendees,
  13. String? createdBy,
  14. Map<String, dynamic>? extra,
})

Implementation

const CalendarEvent({
  required this.id,
  required this.title,
  this.description,
  required this.startTime,
  required this.endTime,
  this.isAllDay = false,
  this.color = Colors.blue,
  this.icon,
  this.repeat,
  this.reminder,
  this.location,
  this.attendees,
  this.createdBy,
  this.extra,
});