Skip to content
pubscout

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.

WASM-ready
$ flutter pub add flutter_app_icon_badge
Source repository

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.