CarouselDotIndicator constructor

const CarouselDotIndicator({
  1. Key? key,
  2. required int itemCount,
  3. required CarouselController controller,
  4. Duration speed = const Duration(milliseconds: 200),
  5. Curve curve = Curves.easeInOut,
})

Creates a dot indicator for the carousel.

Implementation

const CarouselDotIndicator({
  super.key,
  required this.itemCount,
  required this.controller,
  this.speed = const Duration(milliseconds: 200),
  this.curve = Curves.easeInOut,
});