SplashView constructor
const
SplashView({
- Key? key,
- EdgeInsetsGeometry? contentPadding,
- PositionalFlex flex = const PositionalFlex(),
- int duration = 5000,
- Color? statusBarColor = Colors.white,
- Brightness statusBarBrightness = Brightness.dark,
- Widget? custom,
- dynamic onRoute(
- BuildContext context
- Future onExecute()?,
- String? title,
- String? subtitle,
- Color? titleColor,
- Color? subtitleColor,
- double titleExtraSize = 1,
- double subtitleExtraSize = 1,
- EdgeInsetsGeometry? titlePadding,
- EdgeInsetsGeometry? subtitleMargin,
- double? titleSize = 20,
- double? subtitleSize,
- TextStyle titleStyle = const TextStyle(),
- TextStyle? subtitleStyle,
- FontWeight? titleWeight = FontWeight.bold,
- FontWeight? subtitleWeight,
- String? logo,
- Color? logoColor,
- EdgeInsetsGeometry? logoPadding,
- double? logoSize,
Implementation
const SplashView({
Key? key,
this.contentPadding,
this.flex = const PositionalFlex(),
this.duration = 5000,
this.statusBarColor = Colors.white,
this.statusBarBrightness = Brightness.dark,
this.custom,
this.onRoute,
this.onExecute,
this.title,
this.subtitle,
this.titleColor,
this.subtitleColor,
this.titleExtraSize = 1,
this.subtitleExtraSize = 1,
this.titlePadding,
this.subtitleMargin,
this.titleSize = 20,
this.subtitleSize,
this.titleStyle = const TextStyle(),
this.subtitleStyle,
this.titleWeight = FontWeight.bold,
this.subtitleWeight,
this.logo,
this.logoColor,
this.logoPadding,
this.logoSize,
}) : super(key: key);