flutter app foreground launcher icon size exceeds

Viewed 2183
flutter_icons:
  android: true
  ios: true
  image_path: "assets/launcherIcon/logo.png"
  adaptive_icon_foreground: "assets/launcherIcon/logo.png"
  adaptive_icon_background: "#FF0000"
  adaptive_icon_padding: true

I'm new to flutter.I tried to update app launcher icon in flutter but app foreground image size exceed the size when background color is added.its a demo image. help please

foreground exceed imageits a demo image background color hex code is not as in the code

2 Answers

The images generated in the android folder should be deleted

enter image description here

Then you must regenerate them

I would recommend you to give your logo image some padding like if your logo is 70X70 make it in 100x100 with at least 30% margin, you can do it easily In illustrator.

Related