SplashMaster.rive constructor

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

Set rive as splash screen

Implementation

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