SplashScreenView constructor

const SplashScreenView({
  1. Key? key,
  2. required Widget navigateRoute,
  3. bool? navigateWhere,
  4. required String? imageSrc,
  5. Color backgroundColor = Colors.transparent,
  6. LinearGradient? linearGradient,
  7. Duration duration = const Duration(milliseconds: 3000),
  8. double logoSize = 150,
  9. Duration speed = const Duration(milliseconds: 1000),
  10. PageRouteTransition? pageRouteTransition,
  11. EdgeInsets paddingText = const EdgeInsets.only(right: 10, left: 10, top: 20),
  12. AnimatedText? text,
  13. EdgeInsets paddingLoading = const EdgeInsets.only(bottom: 100),
  14. 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);