Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Flutter Launcher Icon

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

like image 900
Bochiekek Avatar asked Oct 13 '25 03:10

Bochiekek


2 Answers

  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
like image 159
Ahmad hassan Avatar answered Oct 14 '25 17:10

Ahmad hassan


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.

like image 40
Mostafa Pirhayati Avatar answered Oct 14 '25 18:10

Mostafa Pirhayati