App/Flutter

[ FLUTTER ] 앱 아이콘 변경

HEON.D 2021. 5. 3. 13:21

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

 

How to change the application launcher icon on Flutter?

When I create an app with a flutter create command, the flutter logo is used as an application icon for both platforms. If I want to change the app icon, shall I go to both platforms directories and

stackoverflow.com

 

'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