Home > Back-end >  Change Flutter Launcher Icon
Change Flutter Launcher Icon

Time:08-15

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 the default flutter icon to my own icon.

Chrome PWA install Chrome Apllication/manifest

CodePudding user response:

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.

CodePudding user response:

  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
  • Related