StacCarouselView constructor
const
StacCarouselView({
- StacCarouselViewType? carouselType,
- StacEdgeInsets? padding,
- StacColor? backgroundColor,
- double? elevation,
- StacColor? overlayColor,
- bool? itemSnapping,
- double? shrinkExtent,
- StacAxis? scrollDirection,
- bool? reverse,
- StacAction? onTap,
- bool? enableSplash,
- double? itemExtent,
- List<
int> ? flexWeights, - 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,
});