CalendarWeekEvent constructor

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

Creates a new instance of CalendarWeekEvent.

Implementation

CalendarWeekEvent({
  required this.id,
  required this.startDate,
  required this.endDate,
  required this.title,
  required this.background,
  this.iconUrl,
  required this.textColor,
});