CarouselSlides constructor
CarouselSlides({
- Key? key,
- required List<
CarouselSlide> slides, - required double height,
- Color? indicatorColor = Colors.white,
- bool hideIndicator = false,
- TextStyle? textStyle,
- SlideIndicatorPosition indicatorPosition = SlideIndicatorPosition.right,
Implementation
CarouselSlides({
Key? key,
required this.slides,
required this.height,
this.indicatorColor = Colors.white,
this.hideIndicator = false,
this.textStyle,
this.indicatorPosition = SlideIndicatorPosition.right,
}) : assert(slides.isNotEmpty),
super(key: key);