CarouselIndicator constructor

const CarouselIndicator({
  1. TabController? controller,
  2. Size size = const Size(20, 5),
  3. Color? unselectedColor,
  4. Color? selectedColor,
  5. StrokeCap strokeCap = StrokeCap.square,
  6. EdgeInsets indicatorPadding = const EdgeInsets.symmetric(horizontal: 5),
  7. bool tapEnable = false,
})

Implementation

const CarouselIndicator({
  this.controller,
  this.size = const Size(20, 5),
  this.unselectedColor,
  this.selectedColor,
  this.strokeCap = StrokeCap.square,
  this.indicatorPadding = const EdgeInsets.symmetric(horizontal: 5),
  this.tapEnable = false,
});