icons_launcher
3.1.0, released 8 months ago by mrrhak.com
A command-line tool that simplifies updating your Flutter app launcher icon.
What it does
Automates the generation and updating of launcher icons for Android, iOS, Web, macOS, Windows, and Linux from a configuration file. Supports flavor configurations, adaptive icons, and platform-specific options like dark and tinted icons for iOS 18.
AI-written summary of version 3.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to automate setting up and updating launcher icons across multiple platforms.
- You are managing multiple app flavors and need different launcher icons for each flavor.
Skip it when
- You prefer manually configuring and resizing native icon assets for each platform.
- You are not using a Dart/Flutter command-line workflow.
Strengths
- Supports a wide range of platforms including Android, iOS, Web, macOS, Windows, and Linux.
- Built-in support for multiple app flavors via separate configuration files.
- Supports advanced icon configurations like iOS 18 dark/tinted icons and Android adaptive icons.
Weaknesses
- Requires managing a YAML configuration file separate from standard pubspec or native assets.
- Command-line setup only, lacks an interactive UI wizard.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
Add your configuration to `pubspec.yaml` or a separate `icons_launcher.yaml` file, then run `dart run icons_launcher:create`.
icons_launcher:
platforms:
android:
enable: true
image_path: "assets/ic_logo_radius.png"
ios:
enable: true
image_path: "assets/ic_logo_rectangle_light.png"Alternatives
Packages that do the same job and could replace icons_launcher.
- flutter_launcher_icons
It is another popular CLI tool for generating launcher icons in Flutter.
65Compare
Works with
Packages commonly used together with icons_launcher: ones it builds on, ones built on it, and its own family.
- yamlicons_launcher depends on itA Dart library for parsing YAML documents into Dart data structures.
- argsicons_launcher depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- imageicons_launcher depends on itPure Dart library to load, manipulate, encode, and decode various image formats.
- universal_ioicons_launcher depends on itCross-platform dart:io implementation with browser support for HttpClient and other APIs