Skip to content
pubscout

flutter_dynamic_icon

2.1.0, released 5 years ago by an unverified publisher

A plugin for dynamically changing app icons and app badge numbers.

WASM-ready
$ flutter pub add flutter_dynamic_icon
Source repository

What it does

Allows Flutter applications to programmatically change their app icon at runtime and update the application icon badge number.

AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to give users the ability to customize the app icon from within the app settings
  • You need to manage and update application badge numbers

Skip it when

  • You require cross-platform dynamic app icon support without iOS limitations
  • You are not prepared to manually configure platform-specific settings like Info.plist

Strengths

  • Supports changing app icons dynamically
  • Allows setting and retrieving badge numbers
  • Null safety support

Weaknesses

  • Requires manual native configuration in Info.plist for iOS
  • Changing icons via private API uses unsupported methods that risk App Store rejection

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Requires configuring alternate icon files outside of Assets.xcassets and modifying Info.plist on iOS.

try {
  if (await FlutterDynamicIcon.supportsAlternateIcons) {
    await FlutterDynamicIcon.setAlternateIconName("photos");
  }
} on PlatformException {} catch (e) {}

Alternatives

Packages that do the same job and could replace flutter_dynamic_icon.