

- SETAPP ANDROID UPDATE
- SETAPP ANDROID FULL
- SETAPP ANDROID FOR ANDROID
- SETAPP ANDROID ANDROID
- SETAPP ANDROID WINDOWS
If it’s new and bright and shiny, I kind of want it. Big thank you to all the contributors to the project.I have to admit it.

SETAPP ANDROID UPDATE
Listed a couple common issues with solutions for them Generated icon color is different from the original icon #Ĭaused by an update to the image dependency which is used by Flutter Launcher Icons. The configuration file format is the same.Īn example project with flavor support enabled has been added to the examples. Icon size should be within this constrains 48.yaml by replacing by the name of your desired flavor.
SETAPP ANDROID WINDOWS


"assets/images/christmas-background.png") which willīe used to fill out the background of the adaptive icon.Īdaptive_icon_foreground: The image asset which will be used for the icon foreground of the adaptive icon
SETAPP ANDROID ANDROID
The next two attributes are only used when generating Android launcher iconĪdaptive_icon_background: The color (E.g. Min_sdk_android: Specify android min sdk value
SETAPP ANDROID FOR ANDROID
Image_path_android: The location of the icon image file specific for Android platform (optional - if not defined then the image_path is used) Image_path: The location of the icon image file which you want to use as the app launcher icon icon/path/here.png: This will generate a new launcher icons for the platform with the name you specify, without removing the old default existing Flutter launcher icon.false: Ignore making launcher icons for this platform.true: Override the default existing Flutter launcher icon for the platform specified.image_path: The location of the icon image file which you want to use as the app launcher icon.
SETAPP ANDROID FULL
Shown below is the full list of attributes which you can specify within your Flutter Launcher Icons configuration. With the icon located in the image path specified above and given the name "launcher_icon" in the Android project and "Example-Icon" in the iOS project. In the above configuration, the package is setup to replace the existing launcher icons in both the Android and iOS project If you encounter any issues please report them here. Run the package #Īfter setting up the configuration, all that is left to do is run the package. Note: If you are not using the existing pubspec.yaml ensure that your config file is located in the same directory as it. flutter pub getįlutter pub run flutter_launcher_icons -f The name of the file when running the package. If you name your configuration file something other than flutter_launcher_icons.yaml or pubspec.yaml you will need to specify Min_sdk_android: 21 # android min sdk min:16, default 21 More complex examples can be found in the example projects. Setup the config file #Īdd your Flutter Launcher Icons configuration to your pubspec.yaml or create a new config file called flutter_launcher_icons.yaml.Īn example is shown below. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future. A command-line tool which simplifies the task of updating your Flutter app's launcher icon.
