SubZeroCarouselConfig constructor

const SubZeroCarouselConfig({
  1. bool showIndicators = true,
  2. bool showNavigationArrows = true,
  3. bool enableAutoPlay = false,
  4. Duration autoPlayInterval = const Duration(seconds: 4),
  5. Duration animationDuration = const Duration(milliseconds: 350),
  6. Curve animationCurve = Curves.easeInOut,
  7. bool enableInfiniteScroll = true,
  8. double viewportFraction = 1.0,
  9. double? height,
  10. double aspectRatio = 16 / 9,
  11. EdgeInsets padding = EdgeInsets.zero,
  12. double itemGap = 16.0,
})

Implementation

const SubZeroCarouselConfig({
  this.showIndicators = true,
  this.showNavigationArrows = true,
  this.enableAutoPlay = false,
  this.autoPlayInterval = const Duration(seconds: 4),
  this.animationDuration = const Duration(milliseconds: 350),
  this.animationCurve = Curves.easeInOut,
  this.enableInfiniteScroll = true,
  this.viewportFraction = 1.0,
  this.height,
  this.aspectRatio = 16 / 9,
  this.padding = EdgeInsets.zero,
  this.itemGap = 16.0,
});