0

enter image description hereHow to change the app icon in flutter using VS code. I am trying it again and again but it's not working see different methods online but no positive outcome

  • Does this answer your question? [How to change the application launcher icon on Flutter?](https://stackoverflow.com/questions/43928702/how-to-change-the-application-launcher-icon-on-flutter) – Yeasin Sheikh Dec 18 '21 at 13:56

2 Answers2

0

With the help of flutter plugin you may change flutter icon package:

flutter_launcher_icons: ^0.9.2

  • Step 1:
dev_dependencies:
  flutter_launcher_icons: "^0.9.2"

flutter_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/icon/icon.png"
  • Step 2:
flutter pub get
Keivan
  • 1,016
  • 1
  • 14
  • 26
0

You can make use of the flutter_launcher_icons: ^0.9.2 package

Create new folder named assets and a subfolder inside that named icon then make changes in your pubspec.yaml file like following:

dev_dependencies:
  flutter_launcher_icons: "^0.9.2"

flutter_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/icon/icon.png"  

Here the icon image should be icon.png and it will be stored in the path : assets/icon

now in terminal run

flutter pub get

for further info check this as reference. And this video might be helpful.

raiyan22
  • 566
  • 5
  • 16