AuraUICarousel constructor
const
AuraUICarousel({
- Key? key,
- required List<
String> images, - double? height = 200,
- required PageController pageController,
- Duration? duration = const Duration(seconds: 5),
- double? borderRadius = 8,
- EdgeInsetsGeometry? padding = const EdgeInsets.all(8),
- CarouselIndicatorType? indicatorType = CarouselIndicatorType.dot,
- Curve? curve = Curves.easeInOut,
- Duration? swipeDuration = const Duration(milliseconds: 500),
- bool? showIndicator = true,
- bool? showButtons = true,
- CarouselButtonType? buttonType = CarouselButtonType.iconOnly,
- double? maxWidth = 430,
Implementation
const AuraUICarousel({
super.key,
required this.images,
this.height = 200,
required this.pageController,
this.duration = const Duration(seconds: 5),
this.borderRadius = 8,
this.padding = const EdgeInsets.all(8),
this.indicatorType = CarouselIndicatorType.dot,
this.curve = Curves.easeInOut,
this.swipeDuration = const Duration(milliseconds: 500),
this.showIndicator = true,
this.showButtons = true,
this.buttonType = CarouselButtonType.iconOnly,
this.maxWidth = 430,
});