StacCarouselView constructor

const StacCarouselView({
  1. StacCarouselViewType? carouselType,
  2. StacEdgeInsets? padding,
  3. StacColor? backgroundColor,
  4. double? elevation,
  5. StacColor? overlayColor,
  6. bool? itemSnapping,
  7. double? shrinkExtent,
  8. StacAxis? scrollDirection,
  9. bool? reverse,
  10. StacAction? onTap,
  11. bool? enableSplash,
  12. double? itemExtent,
  13. List<int>? flexWeights,
  14. List<StacWidget>? children,
})

Creates a StacCarouselView with the given properties.

Implementation

const StacCarouselView({
  this.carouselType,
  this.padding,
  this.backgroundColor,
  this.elevation,
  this.overlayColor,
  this.itemSnapping,
  this.shrinkExtent,
  this.scrollDirection,
  this.reverse,
  this.onTap,
  this.enableSplash,
  this.itemExtent,
  this.flexWeights,
  this.children,
});