FlutterSplashScreen constructor
FlutterSplashScreen({
- Key? key,
- Duration? duration,
- Color? backgroundColor = Colors.black,
- Widget? splashScreenBody,
- Widget? nextScreen,
- Duration setStateTimer = const Duration(milliseconds: 100),
- VoidCallback? setStateCallback,
- VoidCallback? onInit,
- VoidCallback? onEnd,
- bool useImmersiveMode = false,
Implementation
FlutterSplashScreen({
Key? key,
this.duration,
this.backgroundColor = Colors.black,
this.splashScreenBody,
this.nextScreen,
this.setStateTimer = const Duration(milliseconds: 100),
this.setStateCallback,
this.onInit,
this.onEnd,
this.asyncNavigationCallback,
this.useImmersiveMode = false,
}) : super(key: key);