AwesomeNotificationController class
A NotificationController based on the awesome_notifications Flutter plugin.
- Implemented types
Constructors
- AwesomeNotificationController.new()
-
The singleton NotificationController.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pendingNotificationRequestsCount
→ Future<
int> -
The number of pending notifications.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelNotification(
UserTask task) → Future< void> -
Cancel (i.e., remove) the notification for the
task
.override -
initialize(
) → Future< void> -
Initialize and set up the notification controller.
Also tries to get permissions to send notifications.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scheduleNotification(
UserTask task) → Future< void> -
Schedule a notification for a
task
at the UserTask.triggerTime.override -
sendNotification(
UserTask task) → Future< void> -
Send an immediate notification for a
task
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited