aufa
aufa

Reputation: 295

Change app icon background color in flutter

Is it possible to change the app icon background color?

My icon image is png with transparent background. When I launch the app in android the app background color is white, while in ios the background color is black.

Here is the icon in android:

enter image description here

And here is the icon in ios:

enter image description here

Here is the code snippet for android in my AndroidManifest.xml

 <application
    android:label="R17 Group"
    android:icon="@mipmap/ic_launcher">
 </application>

Any solutions?

Upvotes: 1

Views: 8611

Answers (3)

ReginaR
ReginaR

Reputation: 1

You can do it by opening your project on Android Studio.

  1. Right click on app
  2. Click new
  3. Image Asset
  4. Click on background layer and change the color
  5. Click on foreground layer and add your image to the path
  6. Click next

Upvotes: 0

imran sifat
imran sifat

Reputation: 317

use flutter_launcher_icon package and customize your launcher icon yourself https://pub.dev/packages/flutter_launcher_icons

Upvotes: 1

Hazni Gulec
Hazni Gulec

Reputation: 37

if you want a white background why not replace the transparent with white?

Upvotes: 0

Related Questions