Custom splash screen defined in Manifest

Locate your application’s AndroidManifest.xml file.
Within this file, find the activity element.
Within this element, identify the android:theme attribute
and the meta-data element that defines
a splash screen as an
io.flutter.embedding.android.SplashScreenDrawable,
and update it. For example:

    
<activity
    // ...
    android:theme="@style/SomeTheme">
  // ...
  <meta-data
      android:name="io.flutter.embedding.android.SplashScreenDrawable"
      android:resource="@drawable/some_splash_screen"
      />
</activity>

If the android:theme attribute isn’t specified, add the attribute and
define a launch theme for your application’s launch screen.

Delete the meta-data element, as Flutter no longer
uses that, but it can cause a crash.