flutter_launcher_icons icon indicating copy to clipboard operation
flutter_launcher_icons copied to clipboard

[White space aroound image]

Open Sg323 opened this issue 2 years ago • 2 comments

:information_source: Info

flutter_launcher_icons: ^0.12.0

:speech_balloon: Description

Android 12 miui 13 image not fill lcon the icon has white space all around it

:scroll: Pubspec.yaml

dev_dependencies: flutter_test: sdk: flutter flutter_launcher_icons: ^0.12.0

flutter_icons: android: "launcher_icon" image_path: "assets/images/logo.png" adaptive_icon_background: "#000000" background_color: "#000000" min_sdk_android: 21

We ask that you include your pubspec.yaml file as a common problem we have seen has been the pubspec.yaml file being incorrect

Sg323 avatar Mar 24 '23 17:03 Sg323

Hi Sg323, I faced the same problem now. This video helped me to get rid of this space around the real icon: https://www.youtube.com/watch?v=eMHbgIgJyUQ I used this tool to generate my new icon: https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html (Edit: Successor tool: https://icon.kitchen/ ) "Foreground" --> "Image" --> select from device --> adjust "Padding" --> click "Download Zip" It seems to be necessary to create an adaptive_icon_foreground...

I hope I could help.

WasaLordy avatar Apr 12 '23 20:04 WasaLordy

Hi Sg323, I faced the same problem now. This video helped me to get rid of this space around the real icon: https://www.youtube.com/watch?v=eMHbgIgJyUQ I used this tool to generate my new icon: https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html "Foreground" --> "Image" --> select from device --> adjust "Padding" --> click "Download Zip" It seems to be necessary to create an adaptive_icon_foreground...

I hope I could help.

so what's this package for then?

erperejildo avatar Jan 10 '24 23:01 erperejildo

The new inset configuration should help with this

MarkOSullivan94 avatar Sep 21 '24 23:09 MarkOSullivan94