SplashMaster.lottie constructor
const
SplashMaster.lottie({
- Key? key,
- Widget? nextScreen,
- required Source source,
- LottieConfig? lottieConfig,
- VoidCallback? onSourceLoaded,
- Color? backGroundColor,
Set lottie as splash screen
Implementation
const SplashMaster.lottie({
super.key,
this.nextScreen,
required this.source,
this.customNavigation,
this.lottieConfig,
this.onSourceLoaded,
this.backGroundColor,
}) : splashMediaType = SplashMediaType.lottie,
videoConfig = null;