Skip to content

Commit 69896f0

Browse files
authored
Merge pull request #44 from headlines-toolkit/build_app_icon
Build app icon
2 parents d2ec30a + c2c0cbe commit 69896f0

File tree

16 files changed

+66
-7
lines changed

16 files changed

+66
-7
lines changed

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<application
33
android:label="ht_main"
44
android:name="${applicationName}"
5-
android:icon="@mipmap/ic_launcher">
5+
android:icon="@mipmap/launcher_icon">
66
<activity
77
android:name=".MainActivity"
88
android:exported="true"
10.9 KB
Loading
5.38 KB
Loading
17.6 KB
Loading
34.4 KB
Loading
55.5 KB
Loading

assets/icon/headlines_toolkit.png

197 KB
Loading

flutter_launcher_icons.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
flutter_launcher_icons:
2+
image_path: "assets/icon/headlines_toolkit.png"
3+
4+
android: "launcher_icon"
5+
# image_path_android: "assets/icon/headlines_toolkit.png"
6+
min_sdk_android: 21 # android min sdk min:16, default 21
7+
# adaptive_icon_background: "assets/icon/background.png"
8+
# adaptive_icon_foreground: "assets/icon/foreground.png"
9+
# adaptive_icon_monochrome: "assets/icon/monochrome.png"
10+
11+
ios: false
12+
# image_path_ios: "assets/icon/headlines_toolkit.png"
13+
remove_alpha_channel_ios: true
14+
# image_path_ios_dark_transparent: "assets/icon/icon_dark.png"
15+
# image_path_ios_tinted_grayscale: "assets/icon/icon_tinted.png"
16+
# desaturate_tinted_to_grayscale_ios: true
17+
18+
web:
19+
generate: true
20+
# image_path: "assets/icon/headlines_toolkit.png"
21+
background_color: "#fcfcfc"
22+
theme_color: "#fcfcfc"

pubspec.lock

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ packages:
8989
url: "https://pub.dev"
9090
source: hosted
9191
version: "1.4.0"
92+
checked_yaml:
93+
dependency: transitive
94+
description:
95+
name: checked_yaml
96+
sha256: "959525d3162f249993882720d52b7e0c833978df229be20702b33d48d91de70f"
97+
url: "https://pub.dev"
98+
source: hosted
99+
version: "2.0.4"
92100
cli_config:
93101
dependency: transitive
94102
description:
@@ -97,6 +105,14 @@ packages:
97105
url: "https://pub.dev"
98106
source: hosted
99107
version: "0.2.0"
108+
cli_util:
109+
dependency: transitive
110+
description:
111+
name: cli_util
112+
sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c
113+
url: "https://pub.dev"
114+
source: hosted
115+
version: "0.4.2"
100116
clock:
101117
dependency: transitive
102118
description:
@@ -270,6 +286,14 @@ packages:
270286
url: "https://pub.dev"
271287
source: hosted
272288
version: "9.1.1"
289+
flutter_launcher_icons:
290+
dependency: "direct main"
291+
description:
292+
name: flutter_launcher_icons
293+
sha256: bfa04787c85d80ecb3f8777bde5fc10c3de809240c48fa061a2c2bf15ea5211c
294+
url: "https://pub.dev"
295+
source: hosted
296+
version: "0.14.3"
273297
flutter_localizations:
274298
dependency: "direct main"
275299
description: flutter

pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dependencies:
1515
sdk: flutter
1616
flutter_adaptive_scaffold: ^0.3.2
1717
flutter_bloc: ^9.1.0
18+
flutter_launcher_icons: ^0.14.3
1819
flutter_localizations:
1920
sdk: flutter
2021
flutter_native_splash: ^2.4.5

0 commit comments

Comments
 (0)