CalendarEvents class

Constructors

CalendarEvents()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEvent(CalendarEvent event) Future<String?>
For adding events to the native calendar Please check checkCalendarPermission and requestPermission
checkCalendarPermission() Future<CalendarPermission>
This call check the permission for this action to proceed. You should explicitly call this before invoking any call to this plugin.
deleteEvent(CalendarEvent event) Future<String?>
For deleting events to the native calendar Please check checkCalendarPermission and requestPermission
getCalendarAccounts() Future<List<CalendarAccount>?>
This method will fetch the calendar accounts associated to this device. If you are added any external calendars make sure it is synced and available using any calendar applications.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestPermission() Future<int>
This will request the permission for particular devices. Including runtime permission in android. Make sure you have added permissions in both manifest and info.plist
requestSync(CalendarAccount account) Future<bool>
This is particular for android for syncing. This call immediately sync the entries you have added to the calendar. Otherwise it might not sync or take delays to sync.
toString() String
A string representation of this object.
inherited
updateEvent(CalendarEvent event) Future<String?>
For updating events to the native calendar. Please check checkCalendarPermission and requestPermission

Operators

operator ==(Object other) bool
The equality operator.
inherited