BadgeKitPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- BadgeKitPlatform
- Implementers
Constructors
- BadgeKitPlatform()
- Constructs a BadgeKitPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearAllNotifications(
) → Future< void> - Removes all delivered notifications from the notification center.
-
clearBadge(
{bool removeNotifications = false}) → Future< void> - Clears the app icon badge.
-
clearNotificationsByTag(
String tag) → Future< void> -
Removes delivered notifications with the given
tagfrom the notification center. -
clearNotificationsByTags(
List< String> tags) → Future<void> -
Removes delivered notifications matching any of the given
tagsfrom the notification center. -
isBadgeSupported(
) → Future< bool> - Whether the current device/launcher supports app icon badges.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBadge(
int count) → Future< void> -
Sets the app icon badge to
count. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ BadgeKitPlatform
-
The default instance of BadgeKitPlatform to use.
getter/setter pair