UImageSlider constructor
const
UImageSlider({
- required List<
String> images, - Key? key,
- double height = 200,
- double indicatorHeight = 30,
- Color activeIndicatorColor = Colors.white,
- Color inactiveIndicatorColor = Colors.grey,
- double indicatorActiveSize = 10,
- double indicatorInactiveSize = 8,
- int autoPlayDuration = 7,
- BoxFit imageFit = BoxFit.cover,
- double radius = 0,
- Color imagePlaceholderColor = Colors.grey,
- 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,
});