Carousel constructor

const Carousel({
  1. required List<CarouselSlide> slides,
})

Implementation

const Carousel({
  required this.slides,
});