Kenny
Kenny

Reputation: 7

How can i change the ios app icon in flutter?

I have a problem when i change the ios app icon in the flutter .

This is my icon configuration list.

This is my problem. The small icon cannot be replaced.

However, the icon of the app has been changed.

Upvotes: -1

Views: 2117

Answers (2)

Samuel Olufemi
Samuel Olufemi

Reputation: 1055

you could change the icon automatically by using this package: https://pub.dev/packages/flutter_launcher_icons

add the icon image to the assets folder, then add this to your pubspec.yaml file

dev_dependencies:
  flutter_launcher_icons: "^0.9.2"

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

and run these commands in the terminal of your project

flutter pub get
flutter pub run flutter_launcher_icons:main

Upvotes: 1

Adil Naseem
Adil Naseem

Reputation: 1461

You just need to watch this tutorial. https://www.youtube.com/watch?v=O9ChjwrZqns&t=458s It teaches how to change the android and ios icon.

Upvotes: -1

Related Questions