flutter_foreground_task library
Classes
- AndroidNotificationOptions
- Notification options for Android platform.
- FlutterForegroundTask
- A class that implements foreground task and provides useful utilities.
- ForegroundTaskOptions
- Data class with foreground task options.
- IOSNotificationOptions
- Notification options for iOS platform.
- NotificationButton
- The button to display in the notification.
- NotificationChannelImportance
- The importance of the notification channel. See https://developer.android.com/training/notify-user/channels?hl=ko#importance
- NotificationIconData
- Data for setting the notification icon.
- NotificationPriority
- Priority of notifications for Android 7.1 and lower.
- NotificationVisibility
- The level of detail displayed in notifications on the lock screen.
- TaskHandler
- A class that implements a task handler.
- WillStartForegroundTask
- A widget to start the foreground service when the app is minimized or closed. This widget must be declared above the Scaffold widget.
- WithForegroundTask
- A widget that prevents the app from closing when the foreground service is running. This widget must be declared above the Scaffold widget.
Enums
- ResourcePrefix
- The resource prefix of the notification icon.
- ResourceType
- The resource type of the notification icon.
Exceptions / Errors
- ForegroundTaskException
- ForegroundTaskException