UImageSlider constructor

const UImageSlider({
  1. required List<String> images,
  2. Key? key,
  3. double height = 200,
  4. double indicatorHeight = 30,
  5. Color activeIndicatorColor = Colors.white,
  6. Color inactiveIndicatorColor = Colors.grey,
  7. double indicatorActiveSize = 10,
  8. double indicatorInactiveSize = 8,
  9. int autoPlayDuration = 7,
  10. BoxFit imageFit = BoxFit.cover,
  11. double radius = 0,
  12. Color imagePlaceholderColor = Colors.grey,
  13. Widget? errorWidget,
})

Implementation

const UImageSlider({
  required this.images,
  super.key,
  this.height = 200,
  this.indicatorHeight = 30,
  this.activeIndicatorColor = Colors.white,
  this.inactiveIndicatorColor = Colors.grey,
  this.indicatorActiveSize = 10,
  this.indicatorInactiveSize = 8,
  this.autoPlayDuration = 7,
  this.imageFit = BoxFit.cover,
  this.radius = 0,
  this.imagePlaceholderColor = Colors.grey,
  this.errorWidget,
});