flutter change app icon code example

Example 1: flutter launcher icon generate

dev_dependencies:
  flutter_launcher_icons: ^0.8.1
flutter_icons:
  android: true
  ios: true
  image_path: "assets/icon/icon.png"
  
 then
 cmd ->flutter pub run flutter_launcher_icons:main

Example 2: flutter app icon

dev_dependencies:
  flutter_launcher_icons: "^0.7.3"

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

Example 3: fluter icon change

$ flutter pub pub run flutter_launcher_icons:main

Example 4: fluter icon change

dev_dependencies: 
  flutter_test:
    sdk: flutter

  flutter_launcher_icons: any

Example 5: flutter launcher icon

dependencies:
  flutter_launcher_icons: ^0.8.0

Example 6: flutter change app icon

android/app/src/main/res

Tags:

Misc Example