From d96c75f67d117480a7c55221ce5cb126b050cf40 Mon Sep 17 00:00:00 2001 From: Hao-Cher Hong Date: Tue, 9 May 2023 00:09:07 +0800 Subject: [PATCH 1/3] add `background_color_ios` description to README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c261528a71..3c169ff9bc 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ be used to fill out the background of the adaptive icon. - `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 (E.g. `"#000000"`) that is used as background when removing alpha. Only used when `remove_alpha_ios` is set to `true` (optional - if not defined then `#ffffff` is used) ### Web From 71a73ee4b5a51db896f16fb6f76b7a72572a4086 Mon Sep 17 00:00:00 2001 From: Hao-Cher Hong Date: Tue, 9 May 2023 00:13:57 +0800 Subject: [PATCH 2/3] refine texts --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c169ff9bc..986348f03d 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ be used to fill out the background of the adaptive icon. - `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 (E.g. `"#000000"`) that is used as background when removing alpha. Only used when `remove_alpha_ios` is set to `true` (optional - if not defined then `#ffffff` is used) +- `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 From cb9eb3e8641bf472faf45f0511d30e7ed0597f7f Mon Sep 17 00:00:00 2001 From: Hao-Cher Hong Date: Wed, 10 May 2023 16:45:32 +0800 Subject: [PATCH 3/3] add exmaple code to example project --- example/default_example/pubspec.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/example/default_example/pubspec.yaml b/example/default_example/pubspec.yaml index 549e2d9df9..c7d4046e7d 100644 --- a/example/default_example/pubspec.yaml +++ b/example/default_example/pubspec.yaml @@ -23,6 +23,7 @@ flutter_launcher_icons: adaptive_icon_foreground: "assets/images/icon-foreground-432x432.png" # only available for Android 8.0 devices and above min_sdk_android: 21 # android min sdk min:16, default 21 remove_alpha_ios: true + background_color_ios: "#ffffff" web: generate: true image_path: "assets/images/icon-1024x1024.png"