launcher_icon_switcher
0.0.2, released 3 years ago by an unverified publisher
Dynamically switch app launcher icons on Android and iOS.
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.
- ordered_set
Ordered Set that keeps elements sorted and allows duplicates by priority.
82Compare - iregexp
Dart implementation of RFC 9485 I-Regexp, validating and matching patterns.
75Compare - icons_launcher
A command-line tool that simplifies updating your Flutter app launcher icon.
71Compare - android_notification_icons
Generate Android notification icons from a source image
50Compare
Works with
Packages commonly used together with launcher_icon_switcher: ones it builds on, ones built on it, and its own family.