CarouselSlides constructor

CarouselSlides({
  1. Key? key,
  2. required List<CarouselSlide> slides,
  3. required double height,
  4. Color? indicatorColor = Colors.white,
  5. bool hideIndicator = false,
  6. TextStyle? textStyle,
  7. 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);