Skip to content

Commit 6e0b41e

Browse files
committed
remove flutter icon generation, add new android adaptive icon w/ monochrome ver
1 parent 0c1ffdb commit 6e0b41e

File tree

6 files changed

+38
-52
lines changed

6 files changed

+38
-52
lines changed

android/app/src/main/res/drawable/ic_launcher_background.xml

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,7 @@
33
android:height="108dp"
44
android:viewportWidth="108"
55
android:viewportHeight="108">
6-
<path
7-
android:fillColor="#FA5521"
8-
android:pathData="M0,0h108v108h-108z" />
9-
<path
10-
android:fillColor="#ffffff"
11-
android:pathData="M47,24V40H61V24H47Z"
12-
android:strokeWidth="3"
13-
android:strokeColor="#000000"
14-
android:strokeLineCap="round"
15-
android:strokeLineJoin="round" />
16-
<path
17-
android:fillColor="#ffffff"
18-
android:pathData="M47,68V84H61V68H47Z"
19-
android:strokeWidth="3"
20-
android:strokeColor="#000000"
21-
android:strokeLineCap="round"
22-
android:strokeLineJoin="round" />
23-
<path
24-
android:fillColor="#ffffff"
25-
android:pathData="M40,61V47L47,40H61L68,47V61L61,68H47L40,61Z"
26-
android:strokeWidth="3"
27-
android:strokeColor="#000000"
28-
android:strokeLineCap="round"
29-
android:strokeLineJoin="round" />
30-
<path
31-
android:fillColor="#00000000"
32-
android:pathData="M45,57L40,52L35,57"
33-
android:strokeWidth="3"
34-
android:strokeColor="#000000"
35-
android:strokeLineCap="round"
36-
android:strokeLineJoin="round" />
37-
<path
38-
android:fillColor="#00000000"
39-
android:pathData="M73,53L68,58L63,53"
40-
android:strokeWidth="3"
41-
android:strokeColor="#000000"
42-
android:strokeLineCap="round"
43-
android:strokeLineJoin="round" />
6+
<path
7+
android:pathData="M0,0h108v108h-108z"
8+
android:fillColor="#FA5521"/>
449
</vector>

android/app/src/main/res/drawable/ic_launcher_foreground.xml

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,29 @@
33
android:height="108dp"
44
android:viewportWidth="108"
55
android:viewportHeight="108">
6+
<group>
7+
<clip-path
8+
android:pathData="M0,0h108v108h-108z"/>
9+
<group>
10+
<clip-path
11+
android:pathData="M30,18h48v73h-48z"/>
12+
<path
13+
android:pathData="M46,20.28V38.53H62V20.28H46Z"
14+
android:fillColor="#ffffff"/>
15+
<path
16+
android:pathData="M46,70.47V88.72H62V70.47H46Z"
17+
android:fillColor="#ffffff"/>
18+
<path
19+
android:pathData="M38,62.48V46.52L46,38.53H62L70,46.52V62.48L62,70.47H46L38,62.48Z"
20+
android:fillColor="#ffffff"/>
21+
<path
22+
android:pathData="M44.5,20.28C44.5,19.45 45.17,18.78 46,18.78H62C62.83,18.78 63.5,19.45 63.5,20.28V37.91L71.06,45.45C71.34,45.74 71.5,46.12 71.5,46.52V55.45L74.65,52.3C75.24,51.71 76.19,51.71 76.78,52.3C77.36,52.89 77.36,53.84 76.77,54.42L71.5,59.68V62.48C71.5,62.88 71.34,63.26 71.06,63.55L63.5,71.09V88.72C63.5,89.55 62.83,90.22 62,90.22H46C45.17,90.22 44.5,89.55 44.5,88.72V71.09L36.94,63.55C36.66,63.26 36.5,62.88 36.5,62.48V55.84L33.35,58.98C32.76,59.57 31.81,59.57 31.22,58.98C30.64,58.4 30.64,57.45 31.23,56.86L36.5,51.6V46.52C36.5,46.12 36.66,45.74 36.94,45.45L44.5,37.91V20.28ZM46.62,40.03L39.5,47.14V51.6L44.77,56.86C45.36,57.45 45.36,58.4 44.78,58.98C44.19,59.57 43.24,59.57 42.65,58.98L39.5,55.84V61.86L46.62,68.97H61.38L68.5,61.86V59.68L63.23,54.42C62.64,53.84 62.64,52.89 63.22,52.3C63.81,51.71 64.76,51.71 65.35,52.3L68.5,55.45V47.14L61.38,40.03H46.62ZM60.5,37.03V21.78H47.5V37.03H60.5ZM60.5,71.97H47.5V87.22H60.5V71.97ZM54,43.88C54.83,43.88 55.5,44.55 55.5,45.38V53.88L60.77,59.14C61.36,59.73 61.36,60.68 60.78,61.26C60.19,61.85 59.24,61.85 58.65,61.26L52.94,55.56C52.66,55.28 52.5,54.9 52.5,54.5V45.38C52.5,44.55 53.17,43.88 54,43.88Z"
23+
android:fillColor="#000000"
24+
android:fillType="evenOdd"/>
25+
</group>
626
<path
27+
android:pathData="M108,0H0V108H108V0ZM54,82C69.46,82 82,69.46 82,54C82,38.54 69.46,26 54,26C38.54,26 26,38.54 26,54C26,69.46 38.54,82 54,82Z"
728
android:fillColor="#333333"
8-
android:fillType="evenOdd"
9-
android:pathData="M108,0H0V108H108V0ZM54,82C69.464,82 82,69.464 82,54C82,38.536 69.464,26 54,26C38.536,26 26,38.536 26,54C26,69.464 38.536,82 54,82Z" />
10-
<path
11-
android:fillColor="#00000000"
12-
android:pathData="M54,46V54L59,59"
13-
android:strokeWidth="3"
14-
android:strokeColor="#000000"
15-
android:strokeLineCap="round"
16-
android:strokeLineJoin="round" />
29+
android:fillType="evenOdd"/>
30+
</group>
1731
</vector>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="108dp"
3+
android:height="108dp"
4+
android:viewportWidth="108"
5+
android:viewportHeight="108">
6+
<path
7+
android:pathData="M46,24.78C46.83,24.78 47.5,25.45 47.5,26.28V37.03H60.5V26.28C60.5,25.45 61.17,24.78 62,24.78C62.83,24.78 63.5,25.45 63.5,26.28V37.91L71.06,45.45C71.34,45.74 71.5,46.12 71.5,46.52V55.45L74.65,52.3C75.24,51.71 76.19,51.71 76.78,52.3C77.36,52.89 77.36,53.84 76.77,54.42L71.5,59.68V62.48C71.5,62.88 71.34,63.26 71.06,63.55L63.5,71.09V82.72C63.5,83.55 62.83,84.22 62,84.22C61.17,84.22 60.5,83.55 60.5,82.72V71.97H47.5V82.72C47.5,83.55 46.83,84.22 46,84.22C45.17,84.22 44.5,83.55 44.5,82.72V71.09L36.94,63.55C36.66,63.26 36.5,62.88 36.5,62.48V55.84L33.35,58.98C32.76,59.57 31.81,59.57 31.22,58.98C30.64,58.4 30.64,57.45 31.23,56.86L36.5,51.6V46.52C36.5,46.12 36.66,45.74 36.94,45.45L44.5,37.91V26.28C44.5,25.45 45.17,24.78 46,24.78ZM46.62,40.03L39.5,47.14V51.6L44.77,56.86C45.36,57.45 45.36,58.4 44.78,58.98C44.19,59.57 43.24,59.57 42.65,58.98L39.5,55.84V61.86L46.62,68.97H61.38L68.5,61.86V59.68L63.23,54.42C62.64,53.84 62.64,52.89 63.22,52.3C63.81,51.71 64.76,51.71 65.35,52.3L68.5,55.45V47.14L61.38,40.03H46.62ZM54,43.88C54.83,43.88 55.5,44.55 55.5,45.38V53.88L60.77,59.14C61.36,59.73 61.36,60.68 60.78,61.26C60.19,61.85 59.24,61.85 58.65,61.26L52.94,55.56C52.66,55.28 52.5,54.9 52.5,54.5V45.38C52.5,44.55 53.17,43.88 54,43.88Z"
8+
android:fillColor="#000000"
9+
android:fillType="evenOdd"/>
10+
</vector>

android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33
<background android:drawable="@drawable/ic_launcher_background" />
44
<foreground android:drawable="@drawable/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>

android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33
<background android:drawable="@drawable/ic_launcher_background" />
44
<foreground android:drawable="@drawable/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>

pubspec.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ dependencies:
5757
device_info_plus: ^10.1.1
5858

5959
dev_dependencies:
60-
flutter_launcher_icons: ^0.13.1
6160
flutter_test:
6261
sdk: flutter
6362
pigeon: ^9.2.4
@@ -70,10 +69,6 @@ dev_dependencies:
7069
recase: ^4.0.0
7170
flutter_lints: ^2.0.0
7271

73-
flutter_icons:
74-
ios: true
75-
image_path: "images/launcher.png"
76-
7772
# For information on the generic Dart part of this file, see the
7873
# following page: https://dart.dev/tools/pub/pubspec
7974

0 commit comments

Comments
 (0)