FlutterSplashScreen constructor

FlutterSplashScreen({
  1. Key? key,
  2. Duration? duration,
  3. Color? backgroundColor = Colors.black,
  4. Widget? splashScreenBody,
  5. Widget? nextScreen,
  6. Duration setStateTimer = const Duration(milliseconds: 100),
  7. VoidCallback? setStateCallback,
  8. VoidCallback? onInit,
  9. VoidCallback? onEnd,
  10. AsyncCallback? asyncNavigationCallback,
  11. 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);