Deprecated Splash Screen API Migration

Platform integration

Android

Deprecated Splash Screen API Migration

Prior to Flutter 2.5, Flutter apps could add a splash
screen by defining it within the metadata of their application manifest file
(AndroidManifest.xml), by implementing provideSplashScreen within
their FlutterActivity, or both. This would display momentarily in between
the time after the Android launch screen is shown and when Flutter has
drawn the first frame. This approach is now deprecated as of Flutter 2.5.
Flutter now automatically keeps the Android launch screen displayed
until it draws the first frame.

To migrate from defining a custom splash screen to just defining a custom
launch screen for your application, follow the steps that correspond
to how your application’s custom splash screen was defined
prior to the 2.5 release.

Custom splash screen defined in FlutterActivity