flutter_foreground_task library

Classes

AndroidNotificationOptions
Notification options for Android platform.
FlutterForegroundTask
A class that implements foreground task and provides useful utilities.
ForegroundTaskEventAction
A class that defines the action of onRepeatEvent in TaskHandler.
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.
ServiceRequestResult
Result of service request.
TaskHandler
A class that implements a task handler.
WithForegroundTask
A widget that minimize the app without closing it when the user presses the soft back button. It only works when the service is running.

Enums

ForegroundTaskEventType
The type for ForegroundTaskEventAction.
NotificationPermission
ResourcePrefix
The resource prefix of the notification icon.
ResourceType
The resource type of the notification icon.
TaskStarter
The starter that started the task.

Typedefs

DataCallback = void Function(Object data)