launcher_icons
0.16.0, released 7 weeks ago by quasiflo.com
Generates Flutter app launcher icons across all platforms from a source image.
What it does
A command-line tool that creates and integrates app launcher icons for Android, iOS, Web, Windows, macOS, and Linux from a single high-resolution source image. It supports flavors, native configuration wiring, and modern icon variants like Android monochrome layers and iOS dark/tinted appearances.
AI-written summary of version 0.16.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to generate and set up app launcher icons across multiple platforms automatically.
- Your project utilizes build flavors and requires distinct launcher icons per flavor.
Skip it when
- You prefer to manually design and place every platform-specific native icon asset by hand.
Strengths
- Actively maintained fork with comprehensive multi-platform support including web and desktop.
- Supports build flavors out-of-the-box across all platforms.
- Performs deep native wiring with safe cleanup and strict validation.
Weaknesses
- The built-in SVG renderer is beta quality and has limitations with complex text or filters.
- Diverged heavily from older tools and features a breaking config schema.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 10
Add launcher_icons to dev_dependencies, create a configuration file or use pubspec.yaml, and run `dart run launcher_icons`.
dev_dependencies:
launcher_icons: "^0.16.0"
launcher_icons:
image_path: "assets/icon/icon.png"
android:
generate: true
ios:
generate: trueAlternatives
Packages that do the same job and could replace launcher_icons.
- flutter_launcher_icons
The original legacy tool, if you rely on older configuration schemas and are not using this maintained fork.
65Compare
Works with
Packages commonly used together with launcher_icons: ones it builds on, ones built on it, and its own family.
- yamllauncher_icons depends on itA Dart library for parsing YAML documents into Dart data structures.
- cryptolauncher_icons depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- json_annotationlauncher_icons depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- argslauncher_icons depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- checked_yamllauncher_icons depends on itProvides checkedYamlDecode to give detailed errors when decoding YAML with json_serializable.
- cli_utillauncher_icons depends on itUtilities to help build Dart command-line apps, find the SDK, and display progress.
- imagelauncher_icons depends on itPure Dart library to load, manipulate, encode, and decode various image formats.