gen icons fixes
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 6.5 KiB |
27
flutter_launcher_icons.yaml
Normal 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
|
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 4 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 5.1 KiB |
15
pubspec.yaml
|
@ -197,21 +197,6 @@ dev_dependencies:
|
||||||
flutter_lints: ^3.0.1
|
flutter_lints: ^3.0.1
|
||||||
isar_generator: 3.0.5
|
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:
|
flutter_native_splash:
|
||||||
image: assets/icon/splash.png
|
image: assets/icon/splash.png
|
||||||
color: "F7F7F7"
|
color: "F7F7F7"
|
||||||
|
|