-
Notifications
You must be signed in to change notification settings - Fork 1
/
flutter_launcher_icons.yaml
41 lines (33 loc) · 2.68 KB
/
flutter_launcher_icons.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# dart run flutter_launcher_icons
flutter_launcher_icons:
image_path: assets/app_icons/ios.png
android: true
adaptive_icon_background: assets/app_icons/android_adaptive_background.png
adaptive_icon_foreground: assets/app_icons/android_adaptive_foreground.png
adaptive_icon_monochrome: assets/app_icons/android_adaptive_monochrome.png
ios: true
# Android
# android
# true: Override the default existing Flutter launcher icon for the platform specified
# false: Ignore making launcher icons for this platform
# icon/path/here.png: This will generate a new launcher icons for the platform with the name you specify, without removing the old default existing Flutter launcher icon.
# image_path: The location of the icon image file which you want to use as the app launcher icon
# image_path_android: The location of the icon image file specific for Android platform (optional - if not defined then the image_path is used)
# min_sdk_android: Specify android min sdk value The next two attributes are only used when generating Android launcher icon
# adaptive_icon_background: The color (E.g. "#ffffff") or image asset (E.g. "assets/images/christmas-background.png") which will be used to fill out the background of the adaptive icon.
# adaptive_icon_foreground: The image asset which will be used for the icon foreground of the adaptive icon Note: Adaptive Icons will only be generated when both adaptive_icon_background and adaptive_icon_foreground are specified. (the image_path is not automatically taken as foreground)
# adaptive_icon_monochrome: The image asset which will be used for the icon foreground of the Android 13+ themed icon. For more information see Android Adaptive Icons
# IOS
# ios
# true: Override the default existing Flutter launcher icon for the platform specified
# false: Ignore making launcher icons for this platform
# icon/path/here.png: This will generate a new launcher icons for the platform with the name you specify, without removing the old default existing Flutter launcher icon.
# image_path_ios: The location of the icon image file specific for iOS platform (optional - if not defined then the image_path is used)
# remove_alpha_ios: Removes alpha channel for IOS icons
# background_color_ios: The color (in the format "#RRGGBB") to be used as the background when removing the alpha channel. It is used only when the remove_alpha_ios property is set to true. (optional - if not defined then #ffffff is used)
# Web
# web: Add web related configs
# generate: Specifies whether to generate icons for this platform or not
# image_path: Path to web icon.png
# background_color: Updates background_color in web/manifest.json
# theme_color: Updates theme_color in web/manifest.json