I have added app launcher icon using this link and app launcher icon has changed but the problem is background has changed to orange color but the actual icon color is blue. Any idea on why is this happening?
you should use image plugins as well to fix your issue, looks like
dev_dependencies:
flutter_launcher_icons: "^0.7.0"
image: "^2.1.0"
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon/icon.png"
And then you can run command :
flutter packages get
flutter packages pub run flutter_launcher_icons:main
For those still seeing this problem I discovered if you want to use the adaptive_icon_background you HAVE to also use the adaptive_icon_foreground.
flutter_icons:
android: true
ios: true
remove_alpha_ios: true
image_path: "assets/logo.png"
adaptive_icon_foreground: "assets/logo.png"
adaptive_icon_background: "assets/logobgcolor.png"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.