AndroidEventSettings constructor
const
AndroidEventSettings({})
Implementation
const AndroidEventSettings({
this.calendarId,
this.eventStatus = 1, // confirmed by default
this.visibility = 0, // default visibility
this.hasAlarm = true,
this.reminderMinutes = const [15], // 15 minutes before by default
this.eventColor,
}) : assert(eventStatus >= 0 && eventStatus <= 2,
'Event status must be 0 (tentative), 1 (confirmed), or 2 (canceled)'),
assert(visibility >= 0 && visibility <= 3,
'Visibility must be between 0 and 3'),
assert(calendarId == null || calendarId >= 0,
'Calendar ID must be non-negative');