Skip to content
pubscout

flutter_app_icon_changer

0.1.1, released 2 years ago by innim.ru

Change app icon at runtime on Android and iOS

$ flutter pub add flutter_app_icon_changer
Source repository

What it does

Provides a Flutter plugin that lets you switch the app icon while the app is running. It works on both Android and iOS by enabling/disabling activity aliases or setting alternate icons via the platform APIs.

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

Use it when

  • You need to change the app icon based on user choice or app state
  • You want a runtime icon change without rebuilding the app

Skip it when

  • You only need a single icon or want to change icons at build time
  • Your app targets platforms that do not support runtime icon changes

Strengths

  • Native implementation, no extra dependencies
  • Simple API with isSupported, getCurrentIcon, and setIcon methods

Weaknesses

  • Requires manual native configuration in AndroidManifest and Info.plist
  • Not supported on all devices (e.g., some Android OEMs may ignore alias changes)

Setup

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

Add activity-alias entries in AndroidManifest.xml and alternate icons in iOS Info.plist and Assets.xcassets. No build_runner or codegen needed.

import 'package:flutter_app_icon_changer/flutter_app_icon_changer.dart';
final changer = FlutterAppIconChangerPlugin();
await changer.setIcon('Icon1');

Alternatives

Packages that do the same job and could replace flutter_app_icon_changer.

Works with

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