SplashConfig constructor
const
SplashConfig({
- int durationMs = 2500,
- SplashAnimation animation = const SplashAnimation(type: SplashAnimationType.fadeIn),
- Color? backgroundColor,
- LinearGradient? backgroundGradient,
- Widget? logo,
- String? appName,
- String? tagline,
- TextStyle? appNameStyle,
- TextStyle? taglineStyle,
- SplashLayoutType layoutType = SplashLayoutType.logoCenter,
- Widget? customContent,
- SplashTheme? theme,
- bool showLoader = false,
- Widget? customLoader,
- bool tapToContinue = false,
- bool showSkipButton = false,
- String skipButtonLabel = 'Skip',
- 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,
});