Moahemd Abdelkhalel
Moahemd Abdelkhalel

Reputation: 242

Flutter Native Splash Icon Appears Pixelated

I am using the flutter_native_splash package to set up a splash screen for my Flutter app. However, the app icon in the splash screen appears pixelated and blurry, even though I am using a high-resolution image.

Here is my pubspec.yaml configuration:

flutter_native_splash:
  color: "#EBDBD0"
  image: assets/images/logo.png
  android: true
  ios: false

  android_12:
    icon_background_color: "#EBDBD0"
    image: assets/images/logo.png
    icon_background_color_dark: "#EBDBD0"
    image_dark: assets/images/logo.png

I have checked the following:

What could be causing this pixelation issue, and how can I fix it? I have attached a screenshot to illustrate the problem.

enter image description here

Upvotes: 3

Views: 100

Answers (0)

Related Questions