CarouselItem constructor

const CarouselItem({
  1. Key? key,
  2. required Color primaryColor,
  3. required Color secondaryColor,
  4. required List<SliderItem> slides,
  5. required bool animatedRotateX,
  6. required bool animatedRotateZ,
  7. required bool scale,
  8. required bool animatedOpacity,
  9. required ScrollPhysics? physics,
  10. required double? dotsContainerHeight,
  11. required double? dotsContainerWidth,
  12. required PageController? controller,
  13. required Axis scrollDirection,
  14. required IndicatorAlign? indicatorAlign,
  15. required bool autoPlay,
  16. required TextStyle? titleTextStyle,
  17. required TextStyle? subtitleTextStyle,
  18. required TextAlign? titleTextAlign,
  19. required TextAlign? subtitleTextAlign,
  20. required IndicatorEffects? indicatorEffects,
  21. required Duration autoPlaySlideDuration,
  22. required Duration autoPlaySlideDurationTransition,
  23. required Curve autoPlaySlideDurationCurve,
  24. required bool showIndicators,
})

Implementation

const CarouselItem({
  Key? key,
  required this.primaryColor,
  required this.secondaryColor,
  required this.slides,
  required this.animatedRotateX,
  required this.animatedRotateZ,
  required this.scale,
  required this.animatedOpacity,
  required this.physics,
  required this.dotsContainerHeight,
  required this.dotsContainerWidth,
  required this.controller,
  required this.scrollDirection,
  required this.indicatorAlign,
  required this.autoPlay,
  required this.titleTextStyle,
  required this.subtitleTextStyle,
  required this.titleTextAlign,
  required this.subtitleTextAlign,
  required this.indicatorEffects,
  required this.autoPlaySlideDuration,
  required this.autoPlaySlideDurationTransition,
  required this.autoPlaySlideDurationCurve,
  required this.showIndicators,
}) : super(key: key);