flutterLocalNotificationsPlugin top-level property
getter/setter pair
The plugin used for local notifications.
These should not be confused with notifications sent by Firebase Cloud Messaging. Local notifications are scheduled and handled by the app itself.
The plugin is initialized in the main function and therefore it is not suitable to provide it using Riverpod, as there is no way to access the ProviderContainer in the main function.
Implementation
FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin =
FlutterLocalNotificationsPlugin();