1

I want to Change Flutter Install Icon

If you check the "Chrome PWA install" link from my post. You can see that i encircled the icon. i wanted to change the default flutter icon to my own icon.

Chrome PWA install Chrome Apllication/manifest

Bochiekek
  • 33
  • 1
  • 4

2 Answers2

7
  1. Simple, go to this website https://appicon.co/ and upload your icon
  2. It will give you a zip file simple export it and look for Android & Asset.xcassets
  3. Go to android/app/src/main/res and replace everything with the android folder in a zip file (For Android)
  4. Go to ios/Runner/Assets.xcassets and replace everything with Assets.xcassets folder in a zip file (For iOS)
  5. Remove the app from your device, run flutter clean & then flutter run
Ahmad hassan
  • 769
  • 4
  • 14
  • On point 4, replace only these folders: android/app/src/main/res/mipmap-xxxhdpi android/app/src/main/res/mipmap-xxhdpi android/app/src/main/res/mipmap-mdpi android/app/src/main/res/mipmap-hdpi android/app/src/main/res/mipmap-xhdpi – Sharon Atim Apr 02 '23 at 11:46
4

first of all Add flutter_launcher_icons Plugin from here to pubspec.yaml. then Prepare an app icon for the specified path e.g. icon/icon.png. after that Execute command on the terminal to Create app icons. first $ flutter pub get then $ flutter pub run flutter_launcher_icons:main. at the end To check all available options and to set different icons for android and iOS please refer here.

  • This worked. Thanks. i did saw this before but i didnt use it because the package platform web is not indicated. may be they just havent updated. – Bochiekek Aug 16 '22 at 07:45