SplashMaster.video constructor

const SplashMaster.video({
  1. Key? key,
  2. Widget? nextScreen,
  3. required Source source,
  4. VoidCallback? customNavigation,
  5. VideoConfig? videoConfig,
  6. VoidCallback? onSourceLoaded,
  7. Color? backGroundColor,
})

Set video as splash screen

Implementation

const SplashMaster.video({
  super.key,
  this.nextScreen,
  required this.source,
  this.customNavigation,
  this.videoConfig,
  this.onSourceLoaded,
  this.backGroundColor,
})  : splashMediaType = SplashMediaType.video,
      lottieConfig = null;