CalendarPlugin class
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
addReminder(
{String calendarId, String eventId, int minutes }) → Future< void> -
Helps to add reminder in Android
add alarms in iOS
-
createEvent(
{String calendarId, CalendarEvent event }) → Future< String> - Helps to create an event in the selected calendar
-
deleteEvent(
{String calendarId, String eventId }) → Future< int> - Deletes the selected event in the selected calendar
-
deleteReminder(
{String eventId }) → Future< int> - Helps to delete the selected event's reminder
-
getCalendars(
) → Future< List< Calendar> > - Returns the available calendars from the device
-
getEvents(
{String calendarId }) → Future< List< CalendarEvent> > - Returns all the available events in the selected calendar
-
hasPermissions(
) → Future< bool> - Check your app has permissions to access the calendar events
-
requestPermissions(
) → Future< void> - Request the app to fetch the permissions to access the calendar
-
updateEvent(
{String calendarId, CalendarEvent event }) → Future< String> - Helps to update the edited event
-
updateReminder(
{String calendarId, String eventId, int minutes }) → Future< int> - Helps to update the selected reminder
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Properties
-
platformVersion
→ Future<
String> -
read-only