Skip to content
pubscout

launcher_icon_switcher

0.0.2, released 3 years ago by an unverified publisher

Dynamically switch app launcher icons on Android and iOS.

WASM-ready
$ flutter pub add launcher_icon_switcher
Source repository

What it does

Allows a Flutter app to change its launcher icon at runtime. It supports querying the current icon and setting a new one. The plugin requires platform‑specific setup for activity aliases on Android and alternate app icons on iOS.

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

Use it when

  • You need multiple launcher icons for different app states or themes
  • You want to change the icon without reinstalling the app
  • You need to show a different icon for a paid version or feature toggle

Skip it when

  • You only need a single static icon
  • You are targeting web or desktop platforms

Strengths

  • Simple API, no code generation
  • Supports both Android and iOS
  • Handles platform setup instructions in README
  • No external dependencies beyond Flutter

Weaknesses

  • Requires manual platform configuration
  • Limited to Android/iOS only
  • No support for dynamic icon changes on web/desktop
  • No built‑in error handling examples

Setup

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

Add activity aliases in AndroidManifest.xml and enable alternate icons in Xcode Build Settings. No build_runner or permissions needed.

LauncherIconSwitcher().initialize(['DefaultIcon','AdditionalIcon'], 'DefaultIcon');
LauncherIconSwitcher().setIcon('AdditionalIcon');

Alternatives

Packages that do the same job and could replace launcher_icon_switcher.

Works with

Packages commonly used together with launcher_icon_switcher: ones it builds on, ones built on it, and its own family.