NiceCarousel constructor
const
NiceCarousel({
- Key? key,
- required List<
NiceCarouselSlide> slides, - double height = 200,
- bool autoPlay = false,
- Duration autoPlayInterval = const Duration(seconds: 4),
- Duration animationDuration = const Duration(milliseconds: 300),
- bool showIndicators = true,
- bool showArrows = true,
- double viewportFraction = 1.0,
- BorderRadius? borderRadius,
Implementation
const NiceCarousel({
super.key,
required this.slides,
this.height = 200,
this.autoPlay = false,
this.autoPlayInterval = const Duration(seconds: 4),
this.animationDuration = const Duration(milliseconds: 300),
this.showIndicators = true,
this.showArrows = true,
this.viewportFraction = 1.0,
this.borderRadius,
});