calendarPlugin function
- @Riverpod(keepAlive: true)
- 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();
}