-
Notifications
You must be signed in to change notification settings - Fork 0
/
flutter_launcher_icons.yaml
81 lines (66 loc) · 3.45 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
flutter_launcher_icons:
android: true
ios: true
remove_alpha_ios: true
image_path: "assets/images/logo.webp"
windows:
generate: true
web:
generate: true
macos:
generate: true
# flutter_launcher_icons:
# android: "launcher_icon"
# ios: true
# image_path: "assets/app_icons/gros.png"
# min_sdk_android: 21 # android min sdk min:16, default 21
# web:
# generate: true
# image_path: "assets/app_icons/gros.png"
# background_color: "#hexcode"
# theme_color: "#hexcode"
# windows:
# generate: true
# image_path: "assets/app_icons/gros.png"
# icon_size: 48 # min:48, max:256, default: 48
# macos:
# generate: true
# image_path: "assets/app_icons/gros.png"
# flutter pub run flutter_launcher_icons
# https://pub.dev/packages/flutter_launcher_icons
# Shown below is the full list of attributes which you can specify within your Flutter Launcher Icons configuration.
# Global
# image_path: The location of the icon image file which you want to use as the app launcher icon.
# 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)
# 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
# Web
# web: Add web related configs
# generate: Specifies weather 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
# Windows
# windows: Add Windows related configs
# generate: Specifies weather to generate icons for Windows platform or not
# image_path: Path to web icon.png
# icon_size: Windows app icon size. Icon size should be within this constrains 48<=icon_size<=256, defaults to 48
# MacOS
# macos: Add MacOS related configs
# generate: Specifies weather to generate icons for MacOS platform or not
# image_path: Path to macos icon.png file
# Note: iOS icons should fill the entire image and not contain transparent borders.