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
- Android: Ability to set inset for adaptive icon foreground and monochrome icon [#563](https://github.com/fluttercommunity/flutter_launcher_icons/pull/563)
16
+
- iOS: Dark and Tinted icons for iOS 18+ [#569](https://github.com/fluttercommunity/flutter_launcher_icons/pull/569)
17
+
3
18
## 0.13.1 (15th April 2023)
4
19
5
20
- Can now use `flutter_launcher_icons` instead of `flutter_icons`[#478](https://github.com/fluttercommunity/flutter_launcher_icons/pull/478)
Copy file name to clipboardExpand all lines: README.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,21 +13,21 @@ A command-line tool which simplifies the task of updating your Flutter app's lau
13
13
Run the following command to create a new config automatically:
14
14
15
15
```shell
16
-
flutter pub run flutter_launcher_icons:generate
16
+
dart run flutter_launcher_icons:generate
17
17
```
18
18
19
19
This will create a new file called `flutter_launcher_icons.yaml` in your `flutter` project's root directory.
20
20
21
21
If you want to override the default location or name of the config file, use the `-f` flag:
22
22
23
23
```shell
24
-
flutter pub run flutter_launcher_icons:generate -f <your config file name here>
24
+
dart run flutter_launcher_icons:generate -f <your config file name here>
25
25
```
26
26
27
27
To override an existing config file, use the `-o` flag:
28
28
29
29
```shell
30
-
flutter pub run flutter_launcher_icons:generate -o
30
+
dart run flutter_launcher_icons:generate -o
31
31
```
32
32
33
33
OR
@@ -37,7 +37,7 @@ An example is shown below. More complex examples [can be found in the example pr
37
37
38
38
```yaml
39
39
dev_dependencies:
40
-
flutter_launcher_icons: "^0.13.1"
40
+
flutter_launcher_icons: ^0.14.0
41
41
42
42
flutter_launcher_icons:
43
43
android: "launcher_icon"
@@ -105,6 +105,9 @@ Shown below is the full list of attributes which you can specify within your Flu
105
105
be used to fill out the background of the adaptive icon.
106
106
-`adaptive_icon_foreground`: The image asset which will be used for the icon foreground of the adaptive icon
107
107
*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)*
108
+
-`adaptive_icon_foreground_inset`: This is used to add padding to the icon when applying an adaptive icon. The default value is `16`.
109
+
-`adaptive_icon_monochrome`: The image asset which will be used for the icon
110
+
foreground of the Android 13+ themed icon. For more information see [Android Adaptive Icons](https://developer.android.com/develop/ui/views/launch/icon_design_adaptive#user-theming)
108
111
109
112
### IOS
110
113
@@ -114,27 +117,30 @@ be used to fill out the background of the adaptive icon.
114
117
-`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.
115
118
-`image_path_ios`: The location of the icon image file specific for iOS platform (optional - if not defined then the image_path is used)
116
119
-`remove_alpha_ios`: Removes alpha channel for IOS icons
120
+
-`image_path_ios_dark_transparent`: The location of the dark mode icon image file specific for iOS 18+ platform. *Note: Apple recommends this icon to be transparent. For more information see [Apple Human Interface Guidelines for App Icons](https://developer.apple.com/design/human-interface-guidelines/app-icons#iOS-iPadOS)*
121
+
-`image_path_ios_tinted_grayscale`: The location of the tinted mode icon image file specific for iOS 18+ platform. *Note: This icon should be an grayscale image. Use `desaturate_tinted_to_grayscale_ios: true` to automatically desaturate the image provided here.*
122
+
-`desaturate_tinted_to_grayscale_ios`: Automatically desaturates tinted mode icon image to grayscale, *defaults to false*
117
123
-`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)
118
124
119
125
### Web
120
126
121
127
-`web`: Add web related configs
122
-
-`generate`: Specifies weather to generate icons for this platform or not
128
+
-`generate`: Specifies whether to generate icons for this platform or not
123
129
-`image_path`: Path to web icon.png
124
130
-`background_color`: Updates *background_color* in `web/manifest.json`
125
131
-`theme_color`: Updates *theme_color* in `web/manifest.json`
126
132
127
133
### Windows
128
134
129
135
-`windows`: Add Windows related configs
130
-
-`generate`: Specifies weather to generate icons for Windows platform or not
136
+
-`generate`: Specifies whether to generate icons for Windows platform or not
131
137
-`image_path`: Path to web icon.png
132
138
-`icon_size`: Windows app icon size. Icon size should be within this constrains *48<=icon_size<=256, defaults to 48*
133
139
134
140
### MacOS
135
141
136
142
-`macos`: Add MacOS related configs
137
-
-`generate`: Specifies weather to generate icons for MacOS platform or not
143
+
-`generate`: Specifies whether to generate icons for MacOS platform or not
138
144
-`image_path`: Path to macos icon.png file
139
145
140
146
*Note: iOS icons should [fill the entire image](https://stackoverflow.com/questions/26014461/black-border-on-my-ios-icon) and not contain transparent borders.*
0 commit comments