CarouselSlides constructor

const CarouselSlides(
  1. List<SliderItem> slides,
  2. bool animatedRotateX,
  3. bool animatedRotateZ,
  4. bool scale,
  5. bool animatedOpacity,
  6. ScrollPhysics? physics,
  7. PageController? pageViewController, {
  8. Key? key,
  9. required TextStyle? titleTextStyle,
  10. required TextStyle? subtitleTextStyle,
  11. required TextAlign? titleTextAlign,
  12. required TextAlign? subtitleTextAlign,
  13. required Axis scrollDirection,
  14. required bool autoPlay,
  15. required Duration autoPlaySlideDuration,
  16. required Duration autoPlaySlideDurationTransition,
  17. required Curve autoPlaySlideDurationCurve,
})

Implementation

const CarouselSlides(
  this.slides,
  this.animatedRotateX,
  this.animatedRotateZ,
  this.scale,
  this.animatedOpacity,
  this.physics,
  this.pageViewController, {
  super.key,
  required this.titleTextStyle,
  required this.subtitleTextStyle,
  required this.titleTextAlign,
  required this.subtitleTextAlign,
  required this.scrollDirection,
  required this.autoPlay,
  required this.autoPlaySlideDuration,
  required this.autoPlaySlideDurationTransition,
  required this.autoPlaySlideDurationCurve,
});