splashScreenBody property
Widget wrapped inside a Scaffold which will be shown at flutter splash screen duration.
splashScreenBody: SizedBox(
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
child: Center(
child: SizedBox(
width: 269,
height: 474,
child: Image.asset('assets/example_2.gif'),
),
),
);
Implementation
/// ```dart
/// splashScreenBody: SizedBox(
/// width: MediaQuery.of(context).size.width,
/// height: MediaQuery.of(context).size.height,
/// child: Center(
/// child: SizedBox(
/// width: 269,
/// height: 474,
/// child: Image.asset('assets/example_2.gif'),
/// ),
/// ),
/// );
/// ```
Widget? splashScreenBody;