SplashScreenView constructor
const
SplashScreenView({
- Key? key,
- required String? imageSrc,
- Color backgroundColor = Colors.transparent,
- LinearGradient? linearGradient,
- Duration duration = const Duration(milliseconds: 3000),
- double logoSize = 150,
- Duration speed = const Duration(milliseconds: 1000),
- PageRouteTransition? pageRouteTransition,
- EdgeInsets paddingText = const EdgeInsets.only(right: 10, left: 10, top: 20),
- AnimatedText? text,
- EdgeInsets paddingLoading = const EdgeInsets.only(bottom: 100),
- bool displayLoading = true,
Implementation
const SplashScreenView({
Key? key,
required this.navigateRoute,
this.navigateWhere,
required this.imageSrc,
this.backgroundColor = Colors.transparent,
this.linearGradient,
this.duration = const Duration(milliseconds: 3000),
this.logoSize = 150,
this.speed = const Duration(milliseconds: 1000),
this.pageRouteTransition,
this.paddingText = const EdgeInsets.only(right: 10, left: 10, top: 20),
this.text,
this.paddingLoading = const EdgeInsets.only(bottom: 100),
this.displayLoading = true,
}) : super(key: key);