CarouselSlides constructor
const
CarouselSlides(
- List<
SliderItem> slides, - bool animatedRotateX,
- bool animatedRotateZ,
- bool scale,
- bool animatedOpacity,
- ScrollPhysics? physics,
- PageController? pageViewController, {
- Key? key,
- required TextStyle? titleTextStyle,
- required TextStyle? subtitleTextStyle,
- required TextAlign? titleTextAlign,
- required TextAlign? subtitleTextAlign,
- required Axis scrollDirection,
- required bool autoPlay,
- required Duration autoPlaySlideDuration,
- required Duration autoPlaySlideDurationTransition,
- 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,
});