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:
- Simple, go to this website https://appicon.co/ and upload your icon
- It will give you a zip file simple export it and look for Android & Asset.xcassets
- Go to
android/app/src/main/res
and replace everything with the android folder in a zip file (For Android) - Go to
ios/Runner/Assets.xcassets
and replace everything with Assets.xcassets folder in a zip file (For iOS) - Remove the app from your device, run
flutter clean
& thenflutter run