NotificationUtils class
Constructors
- NotificationUtils.new()
-
factory
Properties
- awesomeNotifications → AwesomeNotifications
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkingPermissionNotification(
BuildContext context) → void -
configuration(
) → Future< void> - while creating channel do not mistake for creating channel key or not confusing with channel key create same channel key and use for notification one more thing prevent with null value or like null string because it will be giving error like native java null pointer exception so be care full while passing a data or creating a notification..
-
createCustomNotificationWithActionButtons(
{required String title, required String body, required String payload}) → Future< void> -
createLocalInstantNotification(
{required String title, required String body, required String payload, required Widget location}) → Future< void> -
createScheduleNotification(
) → Future< void> -
jsonDataNotification(
Map< String, Object> jsonData) → Future<void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startListeningNotificationEvents(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- receivePort ↔ ReceivePort?
-
getter/setter pair
Static Methods
-
executeLongTaskInBackground(
) → Future< void> -
onActionReceivedImplementationMethod(
ReceivedAction receivedAction) → Future< void> -
onActionReceivedMethod(
ReceivedAction receivedAction) → Future< void> -
onDismissActionReceivedMethod(
ReceivedAction receivedAction) → Future< void> - Use this method to detect if the user dismissed a notification
-
onNotificationCreatedMethod(
ReceivedNotification receivedNotification) → Future< void> -
onNotificationDisplayedMethod(
ReceivedNotification receivedNotification) → Future< void> - Use this method to detect every time that a new notification is displayed