flutter_icon_composer 1.0.0
flutter_icon_composer: ^1.0.0 copied to clipboard
Installs an Icon Composer .icon bundle (the layered Liquid Glass app icon of iOS 26) into a Flutter app's iOS project: copies it, registers it in project.pbxproj and sets it as the app icon.
Example #
AppIcon.icon is a small sample in Icon Composer's file format (one glass layer, a gradient fill, and a darker fill for the dark look). It was written by hand to try the tool; open it in Icon Composer to see it, or use your own icon.
From the root of a Flutter project that has an ios/ folder:
dart pub add dev:flutter_icon_composer
dart run flutter_icon_composer:install --icon path/to/AppIcon.icon --dry-run
dart run flutter_icon_composer:install --icon path/to/AppIcon.icon
Or in pubspec.yaml:
flutter_icon_composer:
icon: assets/icon/AppIcon.icon
dart run flutter_icon_composer:install
From Dart code (a build script, another tool):
import 'dart:io';
import 'package:flutter_icon_composer/flutter_icon_composer.dart';
void main() {
final report = installIcon(InstallOptions(icon: 'assets/icon/AppIcon.icon', dryRun: true));
printReport(report, stdout);
}