CustomSplash constructor

CustomSplash({
  1. Key? key,
  2. required String imagePath,
  3. Function? customFunction,
  4. required int duration,
  5. CustomSplashType? type,
  6. Color backGroundColor = Colors.white,
  7. String animationEffect = 'fade-in',
  8. double logoSize = 200.0,
  9. Map<dynamic, String>? outputAndHome,
})

Implementation

CustomSplash(
    {super.key,
    required String imagePath,
    Function? customFunction,
    required int duration,
    CustomSplashType? type,
    Color backGroundColor = Colors.white,
    String animationEffect = 'fade-in',
    double logoSize = 200.0,
    Map<dynamic, String>? outputAndHome}) {
  _duration = duration;
  _customFunction = customFunction;
  _imagePath = imagePath;
  _outputAndHome = outputAndHome;
  _backGroundColor = backGroundColor;
  _animationEffect = animationEffect;
  _logoSize = 200.0;
}