calendarPlugin function

  1. @Riverpod(keepAlive: true)
DeviceCalendarPlugin calendarPlugin(
  1. dynamic ref
)

A provider for the DeviceCalendarPlugin instance.

This provider is used to provide the DeviceCalendarPlugin instance to the CalendarService class. It is used to interact with the device's calendar.

Implementation

@Riverpod(keepAlive: true)
DeviceCalendarPlugin calendarPlugin(CalendarPluginRef ref) {
  return DeviceCalendarPlugin();
}