how to show splash screen when app on recent widget flutter code example
Example 1: splash screen flutter
dependencies:
splashscreen: ^1.2.0
Example 2: flutter splash screen
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/my_splash"
/>