PrismCarousel constructor

const PrismCarousel({
  1. Key? key,
  2. required List<Widget> items,
  3. double? height,
  4. ValueChanged<int>? onPageChanged,
  5. bool showDots = true,
  6. Color? dotColor,
  7. Color? activeDotColor,
  8. BorderRadius? borderRadius,
})

Creates a carousel.

Implementation

const PrismCarousel({
  super.key,
  required this.items,
  this.height,
  this.onPageChanged,
  this.showDots = true,
  this.dotColor,
  this.activeDotColor,
  this.borderRadius,
});