flutter_launcher_icons
0.14.4, released a year ago by fluttercommunity.dev
Simplifies the task of updating your Flutter app's launcher icon across platforms.
What it does
A command-line tool that updates application launcher icons for Android, iOS, web, Windows, and macOS based on a configuration file. It supports adaptive icons, dark and tinted mode icons for iOS 18+, and automated config generation.
AI-written summary of version 0.14.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to set up or update custom app launcher icons across multiple target platforms.
- You want to generate platform-specific launcher assets (like Android adaptive icons or iOS icons) from a source image.
Skip it when
- You only require a runtime image handling library inside your app UI.
- You prefer manually configuring and dropping raw image files into every native platform project folder.
Strengths
- Supports multiple platforms including Android, iOS, Web, Windows, and macOS.
- Supports advanced icon variants like Android adaptive/monochrome icons and iOS 18 dark/tinted icons.
- Simple configuration via pubspec.yaml or a separate YAML file with command-line generation support.
Weaknesses
- It is a CLI tool rather than a runtime widget library, so it must be run explicitly via the terminal.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 7
Add the package as a dev_dependency in pubspec.yaml, define your configuration block, and run 'dart run flutter_launcher_icons'.
dev_dependencies:
flutter_launcher_icons: "^0.14.4"
flutter_launcher_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon/icon.png"Alternatives
Packages that do the same job and could replace flutter_launcher_icons.
- icons_launcher
Alternative command-line package for generating Flutter launcher icons.
71Compare
Works with
Packages commonly used together with flutter_launcher_icons: ones it builds on, ones built on it, and its own family.
- yamlflutter_launcher_icons depends on itA Dart library for parsing YAML documents into Dart data structures.
- json_annotationflutter_launcher_icons depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- argsflutter_launcher_icons depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- checked_yamlflutter_launcher_icons depends on itProvides checkedYamlDecode to give detailed errors when decoding YAML with json_serializable.
- cli_utilflutter_launcher_icons depends on itUtilities to help build Dart command-line apps, find the SDK, and display progress.
- imageflutter_launcher_icons depends on itPure Dart library to load, manipulate, encode, and decode various image formats.