flutter_app_icon_badge
2.0.0, released 6 years ago by an unverified publisher
Change the badge on the app icon on supported platforms.
What it does
Allows developers to programmatically update, remove, or check support for app icon badges. Supports iOS, Android (via Shortcut Badger), macOS, Windows, and Linux.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to show unread message counts or alerts on the app icon.
- You want to check if badge functionality is supported on the current device.
Skip it when
- You require official, guaranteed badge support across all Android devices.
- You are looking for a complete push notification solution rather than just icon badges.
Strengths
- Simple imperative API to update and remove badges.
- Supports multiple platforms including iOS, Android, macOS, Windows, and Linux.
Weaknesses
- Android lacks a single official API, relying instead on Shortcut Badger which only supports select devices and launchers.
- Windows and Linux implementations are noted as work in progress.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
On iOS, notification permission is required and Info.plist needs UIBackgroundModes with remote-notification.
FlutterAppIconBadge.updateBadge(1);Alternatives
Packages that do the same job and could replace flutter_app_icon_badge.
- flutter_native_badge
Flutter plugin to set, clear, and query app icon badge counts on iOS, macOS, and Android.
70Compare - flutter_new_badger
Handle app icon badges for iOS, macOS, and Android
60Compare - flutter_app_badge_control
Flutter plugin for managing app icon badges on iOS and Android devices.
46Compare - eraser
A flutter plugin that allows remote push notifications to be dismissed and the iOS badge count to be reset.
75Compare