AuraUICarousel constructor

const AuraUICarousel({
  1. Key? key,
  2. required List<String> images,
  3. double? height = 200,
  4. required PageController pageController,
  5. Duration? duration = const Duration(seconds: 5),
  6. double? borderRadius = 8,
  7. EdgeInsetsGeometry? padding = const EdgeInsets.all(8),
  8. CarouselIndicatorType? indicatorType = CarouselIndicatorType.dot,
  9. Curve? curve = Curves.easeInOut,
  10. Duration? swipeDuration = const Duration(milliseconds: 500),
  11. bool? showIndicator = true,
  12. bool? showButtons = true,
  13. CarouselButtonType? buttonType = CarouselButtonType.iconOnly,
  14. 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,
});