You may receive a message similar to the following Because flutter_launcher_icons >=0.9.0 depends on args 2.0.0 and flutter_native_splash 1.2.0 depends on args ^2.1.1, flutter_launcher_icons >=0.9.0 is incompatible with flutter_native_splash 1.2.0.Īnd because no versions of flutter_native_splash match >1.2.0 =0.9.0 is incompatible with flutter_native_splash ^1.2.0. Related issue Image foreground is too big / too small #įor best results try and use a foreground image which has padding much like the one in the example. Use #AARRGGBB for colors instead of #AABBGGRR, to be compatible with Flutter image class. 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. generate: Specifies weather to generate icons for Windows platform or not.theme_color: Updates theme_color in web/manifest.json.background_color: Updates background_color in web/manifest.json.generate: Specifies weather to generate icons for this platform or not.remove_alpha_ios: Removes alpha channel for IOS icons.image_path_ios: The location of the icon image file specific for iOS platform (optional - if not defined then the image_path is used).(the image_path is not automatically taken as foreground) Note: Adaptive Icons will only be generated when both adaptive_icon_background and adaptive_icon_foreground are specified. "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 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 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |