SplashConfig constructor

const SplashConfig({
  1. int durationMs = 2500,
  2. SplashAnimation animation = const SplashAnimation(type: SplashAnimationType.fadeIn),
  3. Color? backgroundColor,
  4. LinearGradient? backgroundGradient,
  5. String? appName,
  6. String? tagline,
  7. TextStyle? appNameStyle,
  8. TextStyle? taglineStyle,
  9. SplashLayoutType layoutType = SplashLayoutType.logoCenter,
  10. Widget? customContent,
  11. SplashTheme? theme,
  12. bool showLoader = false,
  13. Widget? customLoader,
  14. bool tapToContinue = false,
  15. bool showSkipButton = false,
  16. String skipButtonLabel = 'Skip',
  17. bool enablePerformanceMonitoring = false,
})

Creates a SplashConfig.

Implementation

const SplashConfig({
  this.durationMs = 2500,
  this.animation = const SplashAnimation(type: SplashAnimationType.fadeIn),
  this.backgroundColor,
  this.backgroundGradient,
  this.logo,
  this.appName,
  this.tagline,
  this.appNameStyle,
  this.taglineStyle,
  this.layoutType = SplashLayoutType.logoCenter,
  this.customContent,
  this.theme,
  this.showLoader = false,
  this.customLoader,
  this.tapToContinue = false,
  this.showSkipButton = false,
  this.skipButtonLabel = 'Skip',
  this.enablePerformanceMonitoring = false,
});