1. Add flutter_launcher_icons Plugin to pubspec.yaml
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: "^0.9.0"
flutter_icons:
image_path: "icon/icon.png"
android: true
ios: true
2. Prepare an app icon for the specified path. e.g. icon/icon.png
3. Execute command on the terminal to Create app icons:
$ flutter pub get
$ flutter pub run flutter_launcher_icons:main
To check check all available options and to set different icons for android and iOS please refer this
Update:
flutter_launcher_icons 0.8.0 Version (12th Sept 2020) has Added flavours support
Flavors are typically used to build your app for different environments such as dev and prod
The community has written some articles and packages you might find useful. These articles address flavors for both iOS and Android.
Hope this will helps others.
stackoverflow.com/questions/43928702/how-to-change-the-application-launcher-icon-on-flutter
'App > Flutter' 카테고리의 다른 글
[ FLUTTER ] non_constant_identifier_names (0) | 2021.06.28 |
---|---|
[ FLUTTER ] GetX (0) | 2021.06.25 |
[ FLUTTER ] Wrap Widget (0) | 2021.04.27 |
[ FLUTTER ] FVM CLI Device 구동 (0) | 2021.04.23 |
[ Flutter ] FVM 기본 명령어 (0) | 2021.04.11 |