You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-1
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,11 @@ flutter_icons:
21
21
android: "launcher_icon"
22
22
ios: true
23
23
image_path: "assets/icon/icon.png"
24
+
web:
25
+
generate: true
26
+
image_path: "path/to/image.png"
27
+
background_color: "#hexcode"
28
+
theme_color: "#hexcode"
24
29
```
25
30
26
31
If you name your configuration file something other than `flutter_launcher_icons.yaml` or `pubspec.yaml` you will need to specify
@@ -62,7 +67,13 @@ Shown below is the full list of attributes which you can specify within your Flu
62
67
63
68
- `image_path_ios`: The location of the icon image file specific for iOS platform (optional - if not defined then the image_path is used)
64
69
65
-
_Note: iOS icons should [fill the entire image](https://stackoverflow.com/questions/26014461/black-border-on-my-ios-icon) and not contain transparent borders._
70
+
- `web`: Add web related configs
71
+
- `generate`: Specifies weather to generate icons for this platform or not
72
+
- `image_path`: Path to web icon.png
73
+
- `background_color`: Updates *background_color* in `web/manifest.json`
74
+
- `theme_color`: Updates *theme_color* in `web/manifest.json`
75
+
76
+
*Note: iOS icons should [fill the entire image](https://stackoverflow.com/questions/26014461/black-border-on-my-ios-icon) and not contain transparent borders.*
66
77
67
78
The next two attributes are only used when generating Android launcher icon
0 commit comments