Launcher Icon

This article shows how to change launcher icon

Setup the configuration file

Add your Flutter Launcher Icons configuration to your pubspec.yaml

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_launcher_icons: "^0.7.0"
  // https://pub.dartlang.org/packages/flutter_launcher_icons

flutter_icons:
  android: true 
  ios: true
  image_path: "assets/icon/icon.jpg"
  adaptive_icon_background: "#FFFAFAFA"
  adaptive_icon_foreground: "assets/icon/icon.jpg"

As you can notice above, our icon is located in assets/icon folder.

Run the package

flutter packages get
flutter packages pub run flutter_launcher_icons:main

That’s all folks