<item

name=

"android:windowSplashScreenBackground"

>@color/bgColor

</item>

<item

name=

"android:windowSplashScreenAnimatedIcon"

>@drawable/launch_background

</item>

</style>

Make sure that
io.flutter.embedding.android.SplashScreenDrawable is
not set in your manifest, and that provideSplashScreen
is not implemented, as these APIs are deprecated.
Doing so causes the Android launch screen to fade smoothly
into the Flutter when the
app is launched and the app might crash.

Some apps might want to continue showing the last frame of
the Android launch screen in Flutter. For example,
this preserves the illusion of a single frame
while additional loading continues in Dart.
To achieve this, the following
Android APIs might be helpful:

Java