jonbhanson / flutter_native_splash

Automatically generates native code for adding splash screens in Android and iOS. Customize with specific platform, background color and splash image.
https://pub.dev/packages/flutter_native_splash
MIT License
1.28k stars 200 forks source link

Image_background not working #688

Closed LincolnFerreira closed 1 month ago

LincolnFerreira commented 1 month ago

When I try to put the image_background in the pubspec and recreate the splash, my image does not appear on my screen, is there a size limit or something else? because I want to use gradient in my initial background

Configuration

pubspec: flutter_native_splash: android: true ios: true background_image: "assets/gradient.jpg" android_12: background_image: "assets/gradient.jpg"

jonbhanson commented 1 month ago

As stated in the readme, Android 12 (and later) does not support a background image.