SplashScreenView constructor
SplashScreenView({})
Implementation
SplashScreenView(
{required Widget? navigateRoute,
String? imageSrc,
int? duration,
int? imageSize,
TextStyle? textStyle,
int? speed,
PageRouteTransition? pageRouteTransition,
List<Color>? colors,
TextType? textType,
Color? backgroundColor,
String? text}) {
_imageSrc = imageSrc;
_widget = navigateRoute;
_speed = speed;
_duration = duration;
_pageRouteTransition = pageRouteTransition;
_colors = colors;
_text = text;
_textStyle = textStyle;
_logoSize = imageSize;
_backgroundColor = backgroundColor;
_textType = TextType.values
.firstWhere((f) => f == textType, orElse: () => TextType.NormalText);
}