InlineCarouselConfig constructor

const InlineCarouselConfig({
  1. required String slotKey,
  2. required List<CarouselItem> items,
  3. int height = 180,
  4. int? width,
  5. bool autoPlay = true,
  6. int autoPlayInterval = 3000,
  7. int animationDuration = 700,
  8. bool infiniteScroll = true,
  9. double viewportFraction = 0.88,
  10. CarouselIndicatorConfig indicator = const CarouselIndicatorConfig(),
})

Implementation

const InlineCarouselConfig({
  required this.slotKey,
  required this.items,
  this.height = 180,
  this.width,
  this.autoPlay = true,
  this.autoPlayInterval = 3000,
  this.animationDuration = 700,
  this.infiniteScroll = true,
  this.viewportFraction = 0.88,
  this.indicator = const CarouselIndicatorConfig(),
});