opt: icons for all platform

This commit is contained in:
Kingtous 2022-09-16 10:32:41 +08:00
parent f17cc0c537
commit 3ef1adf796
24 changed files with 140 additions and 131 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -1,122 +1,122 @@
{ {
"images" : [ "images": [
{ {
"size" : "20x20", "filename": "Icon-App-20x20@2x.png",
"idiom" : "iphone", "idiom": "iphone",
"filename" : "Icon-App-20x20@2x.png", "scale": "2x",
"scale" : "2x" "size": "20x20"
}, },
{ {
"size" : "20x20", "filename": "Icon-App-20x20@3x.png",
"idiom" : "iphone", "idiom": "iphone",
"filename" : "Icon-App-20x20@3x.png", "scale": "3x",
"scale" : "3x" "size": "20x20"
}, },
{ {
"size" : "29x29", "filename": "Icon-App-29x29@1x.png",
"idiom" : "iphone", "idiom": "iphone",
"filename" : "Icon-App-29x29@1x.png", "scale": "1x",
"scale" : "1x" "size": "29x29"
}, },
{ {
"size" : "29x29", "filename": "Icon-App-29x29@2x.png",
"idiom" : "iphone", "idiom": "iphone",
"filename" : "Icon-App-29x29@2x.png", "scale": "2x",
"scale" : "2x" "size": "29x29"
}, },
{ {
"size" : "29x29", "filename": "Icon-App-29x29@3x.png",
"idiom" : "iphone", "idiom": "iphone",
"filename" : "Icon-App-29x29@3x.png", "scale": "3x",
"scale" : "3x" "size": "29x29"
}, },
{ {
"size" : "40x40", "filename": "Icon-App-40x40@2x.png",
"idiom" : "iphone", "idiom": "iphone",
"filename" : "Icon-App-40x40@2x.png", "scale": "2x",
"scale" : "2x" "size": "40x40"
}, },
{ {
"size" : "40x40", "filename": "Icon-App-40x40@3x.png",
"idiom" : "iphone", "idiom": "iphone",
"filename" : "Icon-App-40x40@3x.png", "scale": "3x",
"scale" : "3x" "size": "40x40"
}, },
{ {
"size" : "60x60", "filename": "Icon-App-60x60@2x.png",
"idiom" : "iphone", "idiom": "iphone",
"filename" : "Icon-App-60x60@2x.png", "scale": "2x",
"scale" : "2x" "size": "60x60"
}, },
{ {
"size" : "60x60", "filename": "Icon-App-60x60@3x.png",
"idiom" : "iphone", "idiom": "iphone",
"filename" : "Icon-App-60x60@3x.png", "scale": "3x",
"scale" : "3x" "size": "60x60"
}, },
{ {
"size" : "20x20", "filename": "Icon-App-20x20@1x.png",
"idiom" : "ipad", "idiom": "ipad",
"filename" : "Icon-App-20x20@1x.png", "scale": "1x",
"scale" : "1x" "size": "20x20"
}, },
{ {
"size" : "20x20", "filename": "Icon-App-20x20@2x.png",
"idiom" : "ipad", "idiom": "ipad",
"filename" : "Icon-App-20x20@2x.png", "scale": "2x",
"scale" : "2x" "size": "20x20"
}, },
{ {
"size" : "29x29", "filename": "Icon-App-29x29@1x.png",
"idiom" : "ipad", "idiom": "ipad",
"filename" : "Icon-App-29x29@1x.png", "scale": "1x",
"scale" : "1x" "size": "29x29"
}, },
{ {
"size" : "29x29", "filename": "Icon-App-29x29@2x.png",
"idiom" : "ipad", "idiom": "ipad",
"filename" : "Icon-App-29x29@2x.png", "scale": "2x",
"scale" : "2x" "size": "29x29"
}, },
{ {
"size" : "40x40", "filename": "Icon-App-40x40@1x.png",
"idiom" : "ipad", "idiom": "ipad",
"filename" : "Icon-App-40x40@1x.png", "scale": "1x",
"scale" : "1x" "size": "40x40"
}, },
{ {
"size" : "40x40", "filename": "Icon-App-40x40@2x.png",
"idiom" : "ipad", "idiom": "ipad",
"filename" : "Icon-App-40x40@2x.png", "scale": "2x",
"scale" : "2x" "size": "40x40"
}, },
{ {
"size" : "76x76", "filename": "Icon-App-76x76@1x.png",
"idiom" : "ipad", "idiom": "ipad",
"filename" : "Icon-App-76x76@1x.png", "scale": "1x",
"scale" : "1x" "size": "76x76"
}, },
{ {
"size" : "76x76", "filename": "Icon-App-76x76@2x.png",
"idiom" : "ipad", "idiom": "ipad",
"filename" : "Icon-App-76x76@2x.png", "scale": "2x",
"scale" : "2x" "size": "76x76"
}, },
{ {
"size" : "83.5x83.5", "filename": "Icon-App-83.5x83.5@2x.png",
"idiom" : "ipad", "idiom": "ipad",
"filename" : "Icon-App-83.5x83.5@2x.png", "scale": "2x",
"scale" : "2x" "size": "83.5x83.5"
}, },
{ {
"size" : "1024x1024", "filename": "Icon-App-1024x1024@1x.png",
"idiom" : "ios-marketing", "idiom": "ios-marketing",
"filename" : "Icon-App-1024x1024@1x.png", "scale": "1x",
"scale" : "1x" "size": "1024x1024"
} }
], ],
"info" : { "info": {
"version" : 1, "author": "icons_launcher",
"author" : "xcode" "version": 1
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 558 B

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 790 B

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -1,68 +1,68 @@
{ {
"images" : [ "images": [
{ {
"size" : "16x16", "filename": "app_icon_16.png",
"idiom" : "mac", "idiom": "mac",
"filename" : "app_icon_16.png", "scale": "1x",
"scale" : "1x" "size": "16x16"
}, },
{ {
"size" : "16x16", "filename": "app_icon_32.png",
"idiom" : "mac", "idiom": "mac",
"filename" : "app_icon_32.png", "scale": "2x",
"scale" : "2x" "size": "16x16"
}, },
{ {
"size" : "32x32", "filename": "app_icon_32.png",
"idiom" : "mac", "idiom": "mac",
"filename" : "app_icon_32.png", "scale": "1x",
"scale" : "1x" "size": "32x32"
}, },
{ {
"size" : "32x32", "filename": "app_icon_64.png",
"idiom" : "mac", "idiom": "mac",
"filename" : "app_icon_64.png", "scale": "2x",
"scale" : "2x" "size": "32x32"
}, },
{ {
"size" : "128x128", "filename": "app_icon_128.png",
"idiom" : "mac", "idiom": "mac",
"filename" : "app_icon_128.png", "scale": "1x",
"scale" : "1x" "size": "128x128"
}, },
{ {
"size" : "128x128", "filename": "app_icon_256.png",
"idiom" : "mac", "idiom": "mac",
"filename" : "app_icon_256.png", "scale": "2x",
"scale" : "2x" "size": "128x128"
}, },
{ {
"size" : "256x256", "filename": "app_icon_256.png",
"idiom" : "mac", "idiom": "mac",
"filename" : "app_icon_256.png", "scale": "1x",
"scale" : "1x" "size": "256x256"
}, },
{ {
"size" : "256x256", "filename": "app_icon_512.png",
"idiom" : "mac", "idiom": "mac",
"filename" : "app_icon_512.png", "scale": "2x",
"scale" : "2x" "size": "256x256"
}, },
{ {
"size" : "512x512", "filename": "app_icon_512.png",
"idiom" : "mac", "idiom": "mac",
"filename" : "app_icon_512.png", "scale": "1x",
"scale" : "1x" "size": "512x512"
}, },
{ {
"size" : "512x512", "filename": "app_icon_1024.png",
"idiom" : "mac", "idiom": "mac",
"filename" : "app_icon_1024.png", "scale": "2x",
"scale" : "2x" "size": "512x512"
} }
], ],
"info" : { "info": {
"version" : 1, "author": "icons_launcher",
"author" : "xcode" "version": 1
} }
} }

View File

@ -80,7 +80,7 @@ dependencies:
rxdart: ^0.27.5 rxdart: ^0.27.5
dev_dependencies: dev_dependencies:
flutter_launcher_icons: ^0.9.1 icons_launcher: ^2.0.5
flutter_test: flutter_test:
sdk: flutter sdk: flutter
build_runner: ^2.1.11 build_runner: ^2.1.11
@ -88,10 +88,19 @@ dev_dependencies:
flutter_lints: ^2.0.0 flutter_lints: ^2.0.0
# rerun: flutter pub run flutter_launcher_icons:main # rerun: flutter pub run flutter_launcher_icons:main
flutter_icons: icons_launcher:
android: "ic_launcher" image_path: "../128x128@2x.png"
ios: true platforms:
image_path: "../1024-rec.png" android:
enable: true
ios:
enable: true
windows:
enable: true
macos:
enable: true
linux:
enable: true
# For information on the generic Dart part of this file, see the # For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec # following page: https://dart.dev/tools/pub/pubspec

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 21 KiB