How to change launcher icon in flutter?

How to change launcher icon in flutter?

To change the launcher icon, open the ‘pubspec.yaml‘ file in your project. Under ‘dev_dependencies’ enter launcher icon package dependency as shown below. Click here to know the latest version of Launcher Icon.

  dev_dependencies:
      flutter_launcher_icons: "^0.7.0"

Now write as shown below starting with ‘flutter_icons’:

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

Once the whole code is written, run below written commands under terminal window:

  flutter packages get
  flutter packages pub run flutter_launcher_icons:main

 

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

Leave a Reply

Your email address will not be published. Required fields are marked *