AdCarouselConfig constructor

const AdCarouselConfig({
  1. bool? autoPlay,
  2. bool? enableInfiniteScroll,
  3. Duration autoPlayInterval = const Duration(seconds: 5),
  4. bool showIndicator = true,
  5. double indicatorHeight = 20,
  6. Widget indicatorBuilder(
    1. bool isSelected
    )?,
})

Implementation

const AdCarouselConfig({
  this.autoPlay,
  this.enableInfiniteScroll,
  this.autoPlayInterval = const Duration(seconds: 5),
  this.showIndicator = true,
  this.indicatorHeight = 20,
  this.indicatorBuilder,
});