AndroidNotificationEvent class
Constructors
-
AndroidNotificationEvent({int? id, bool? canReply, bool? hasRemoved, String? packageName, String? title, Uint8List? appIcon, Uint8List? largeIcon, String? content, bool? canClear, bool? isAppGroup, bool? isGroup, bool? isOngoing})
-
-
AndroidNotificationEvent.fromMap(Map map)
-
Properties
-
appIcon
↔ Uint8List?
-
the notification app icon
To display an image simply use the Image.memory widget.
Example:
getter/setter pair
-
canClear
↔ bool?
-
if the notification can be removed
getter/setter pair
-
canReply
↔ bool?
-
check if we can reply the Notification
getter/setter pair
-
content
↔ String?
-
the content of the notification
getter/setter pair
-
notification extras image
To display an image simply use the Image.memory widget.
Example:
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hasRemoved
↔ bool?
-
if the notification has been removed
getter/setter pair
-
if the notification has an extras image
getter/setter pair
-
id
↔ int?
-
the notification id
getter/setter pair
-
isAppGroup
↔ bool?
-
is notification is app grouped
getter/setter pair
-
isGroup
↔ bool?
-
is notification is grouped
getter/setter pair
-
isOngoing
↔ bool?
-
is notification ongoing
getter/setter pair
-
largeIcon
↔ Uint8List?
-
the notification large icon (ex: album covers)
To display an image simply use the Image.memory widget.
Example:
getter/setter pair
-
packageName
↔ String?
-
notification package name
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
title
↔ String?
-
notification title
getter/setter pair