InlineCarouselConfig constructor

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

Implementation

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