how to put a widget in flutter splash screen 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"
/>