CalendarEvent constructor
const
CalendarEvent({
- required String id,
- required String title,
- String? description,
- required DateTime startTime,
- required DateTime endTime,
- bool isAllDay = false,
- Color color = Colors.blue,
- String? icon,
- EventRepeat? repeat,
- EventReminder? reminder,
- String? location,
- List<
String> ? attendees, - String? createdBy,
- 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,
});