gen icons fixes

This commit is contained in:
julian 2024-05-22 11:37:21 -06:00
parent e206fefceb
commit e39fc8ef8d
13 changed files with 27 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View file

@ -0,0 +1,27 @@
# flutter pub run flutter_launcher_icons
flutter_launcher_icons:
image_path: "assets/icon/icon.png"
android: true
image_path_android: "assets/icon/macos-icon.png"
min_sdk_android: 21 # android min sdk min:16, default 21
# adaptive_icon_background: "assets/icon/background.png"
# adaptive_icon_foreground: "assets/icon/foreground.png"
adaptive_icon_monochrome: "assets/icon/app_icon_alpha.png"
ios: true
image_path_ios: "assets/icon/icon.png"
remove_alpha_ios: true
web:
generate: false
image_path: "assets/icon/icon.png"
windows:
generate: true
image_path: "assets/icon/icon.png"
icon_size: 48 # min:48, max:256, default: 48
macos:
generate: true
image_path: assets/icon/macos-icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View file

@ -197,21 +197,6 @@ dev_dependencies:
flutter_lints: ^3.0.1
isar_generator: 3.0.5
flutter_launcher_icons:
android: true
ios: true
image_path: assets/icon/icon.png
image_path_android: assets/icon/app_icon_alpha.png
image_path_ios: assets/icon/icon.png
remove_alpha_ios: true
windows:
generate: true
image_path: assets/icon/icon.png
icon_size: 48 # min:48, max:256, default: 48
macos:
generate: true
image_path: assets/icon/macos-icon.png
flutter_native_splash:
image: assets/icon/splash.png
color: "F7F7F7"