Every mobile app should and must have a launcher icon. In flutter, it uses the Flutter logo as the default flutter icon.
Today, i’ll introduce you to a simple package that makes it easy to change your launcher icon.
Import the flutter_launcher_icons from pub and import it to your pubspec.yaml file
Now, Prepare an app icon for the specified path.
Next, back to pubspec.yaml, add this code to your dev_dependecies section.
flutter_icons: image_path: "icon/icon.png" android: true ios: true
NOTE: you may change icon/icon.png to what you want.
Now, head to tour terminal and run this command:
flutter pub pub run flutter_launcher_icons:main
That’s it. That’ll generate app launcher icons for you.