Bochiekek
Bochiekek

Reputation: 63

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

Upvotes: 3

Views: 14701

Answers (2)

Ahmad hassan
Ahmad hassan

Reputation: 1009

  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

Upvotes: 12

Mostafa Pirhayati
Mostafa Pirhayati

Reputation: 136

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.

Upvotes: 6

Related Questions