How to change Flutter launcher icon?

Easy multiplatform solution.

Play this article

Flutter Launcher Icons has been designed to help quickly generate launcher icons for both Android and iOS: Flutter Launcher Icons

To start with,

  • Add the dependency flutter_launcher_icons: "^0.9.2" into your pubsec.yalm file.
  flutter_launcher_icons: "^0.9.2"
  • Within pubspec.yaml file specify the path of the icon you wish to use for the app and then choose whether you want to use the icon for the iOS app, Android app or both.
  flutter_launcher_icons: "^0.9.2"

  android: true
  ios: true
  image_path: "assets/icon/icon.png"
  • Run the package, execute the command on the terminal to Create app icons:

$ flutter pub get

$ flutter pub run flutter_launcher_icons:main

F:\AndroidStudioProjects\FlutterProject\SportsFlutter\sports_flutter>flutter pub get
Running "flutter pub get" in sports_flutter...                       881ms

F:\AndroidStudioProjects\FlutterProject\SportsFlutter\sports_flutter>flutter pub run flutter_launcher_icons:main

• Creating default icons Android
• Overwriting the default Android launcher icon with a new icon

✓ Successfully generated launcher icons