flutter

Add launcher or mobile app icon in Fluter

To change default flutter app icons you can use the flutter_launcher_icons package. It will generate and replace default flutter icons of your mobile app.

// add package - flutter_launcher_icons
// package_link - https://pub.dev/packages/flutter_launcher_icons
// Add package in dev dependencies

// pubspec.yaml file
dev_dependencies:
  flutter_launcher_icons: "latest_version"

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

//Now run below commands to generate icons
flutter pub get
flutter pub run flutter_launcher_icons:main
Was this helpful?