Search code snippets, questions, articles...

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 -
// Add package in dev dependencies

// pubspec.yaml file
  flutter_launcher_icons: "latest_version"

  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

Search Index Data (The code snippet can also be found with below search text)

change default app icon flutter
Was this helpful?
Programming Feeds
Learn something new everyday on Devsheet