SubZeroCarouselConfig constructor
const
SubZeroCarouselConfig({
- bool showIndicators = true,
- bool enableAutoPlay = false,
- Duration autoPlayInterval = const Duration(seconds: 4),
- Duration animationDuration = const Duration(milliseconds: 350),
- Curve animationCurve = Curves.easeInOut,
- bool enableInfiniteScroll = true,
- double viewportFraction = 1.0,
- double? height,
- double aspectRatio = 16 / 9,
- EdgeInsets padding = EdgeInsets.zero,
- 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,
});