AppBadger class
Backward compatible alias for older code.
- Annotations
-
- @Deprecated('Use AppBadgeController')
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
clearAllNotifications(
) → Future< bool> - TODO: Document clearAllNotifications
-
decrementBadge(
) → Future< int> - TODO: Document decrementBadge
-
getBadgeCount(
) → Future< int> - TODO: Document getBadgeCount
-
getDeviceBrand(
) → Future< String> - TODO: Document getDeviceBrand
-
getDeviceManufacturer(
) → Future< String> - TODO: Document getDeviceManufacturer
-
getPermissionStatus(
) → Future< BadgePermissionStatus> - TODO: Document getPermissionStatus
-
incrementBadge(
) → Future< int> - TODO: Document incrementBadge
-
isBadgeSupported(
) → Future< bool> - TODO: Document isBadgeSupported
-
isIgnoringBatteryOptimizations(
) → Future< bool> - TODO: Document isIgnoringBatteryOptimizations
-
isNotificationEnabled(
) → Future< bool> - TODO: Document isNotificationEnabled
-
openNotificationSettings(
) → Future< void> - TODO: Document openNotificationSettings
-
removeBadge(
) → Future< bool> - TODO: Document removeBadge
-
requestNotificationPermission(
) → Future< bool> - TODO: Document requestNotificationPermission
-
setAndroidNotificationConfig(
{String? channelId, String? channelName, String? smallIcon}) → void - TODO: Document setAndroidNotificationConfig
-
updateBadgeCount(
int count, {bool postNotification = true, bool allowNotificationFallback = true, String? notificationChannelId, String? notificationChannelName, String? notificationSmallIcon}) → Future< bool> - TODO: Document updateBadgeCount