SplashMaster.rive constructor
const
SplashMaster.rive({
- Key? key,
- Widget? nextScreen,
- required Source source,
- RiveConfig? riveConfig,
- VoidCallback? onSourceLoaded,
- 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;