PrismCarousel constructor
- Key? key,
- required List<
Widget> items, - double? height,
- ValueChanged<
int> ? onPageChanged, - bool showDots = true,
- Color? dotColor,
- Color? activeDotColor,
- 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,
});