CarouselSlider constructor
CarouselSlider({
- required List<
Widget> ? items, - required CarouselOptions options,
- CarouselController? carouselController,
- Key? key,
Implementation
CarouselSlider({required this.items, required this.options, CarouselController? carouselController, Key? key})
: itemBuilder = null,
itemCount = items != null ? items.length : 0,
_carouselController = carouselController != null ? carouselController as CarouselControllerImpl : CarouselController() as CarouselControllerImpl,
super(key: key);