-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app icon color was different while i generate icons #98
Comments
Yes same with me. |
It seems this is caused by an update to the |
I am having the same issue and change the image package version to 2.0.7 doesn't work |
Having the same issue, the original color is |
@Inovactio you need to force the version to 2.0.7.
You need to change @HelgeSverre yup that's because the
|
Thanks for the quick fix @skybur, that fixed the issue for now. |
Thanks @skybur, perfect timing as I just hit this too! To be explicit for anyone else following this, I edited ~/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.7.0/pubspec.yaml to read: |
You can also just set the specific version in your
|
Thanks @HelgeSverre, that's a bit neater! |
Same issue, not working for me :(
|
@scarings You've specified |
Will this be fixed? Not everyone comes here to check this. |
Thank you! I was searching for a solution + explanation and you offered both, amazing. |
I had this issue as well. Pinning the image dependency worked. Thanks. |
Worked |
+1 |
v0.7.1 is now using a newer version of the image dependency so you will need to switch about the colors like describe in @skybur's post |
Same problem with version "flutter_launcher_icons: ^0.7.2". For example, in "adaptive_icon_foreground:" blue icon with background #1194F6 turns orange. |
Sorry about the problems. Seems changing the color order caused more problems than good. The Image getBytes and fromBytes methods do let you specify the color order. For example, |
I changed the default color order to the way it was before, released in version 2.1.3 of the image library. |
Yep, just tried and the color is correct. Thanks @brendan-duncan |
sarmayah imac$ flutter pub run flutter_launcher_icons:main |
dev_dependencies: flutter_icons: |
Here is my code:
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/images/app_logo.png"
adaptive_icon_background: "#ffffff"
It is generating slightly different color instead of my actual logo for app.
The text was updated successfully, but these errors were encountered: