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:
- ✅ The image resolution is high.
- ✅ The asset path is correct.
What could be causing this pixelation issue, and how can I fix it? I have attached a screenshot to illustrate the problem.