CarouselSlider.builder constructor
CarouselSlider.builder({
- required int? itemCount,
- required ExtendedIndexedWidgetBuilder? itemBuilder,
- required CarouselOptions options,
- CarouselController? carouselController,
- Key? key,
The on demand item builder constructor
Implementation
CarouselSlider.builder({required this.itemCount, required this.itemBuilder, required this.options, CarouselController? carouselController, Key? key})
: items = null,
_carouselController = carouselController != null ? carouselController as CarouselControllerImpl : CarouselController() as CarouselControllerImpl,
super(key: key);