NetImgCarousel constructor

const NetImgCarousel(
  1. List<String> imageUrls, {
  2. Key? key,
  3. double height = 400.0,
  4. double width = 0.0,
  5. FunctionWithAInt? onUnitTapped,
  6. FunctionWithAInt? onIndicatorTapped,
  7. bool useindicator = true,
  8. Color indicatorColor = Colors.white,
  9. Color currentIndicatorColor = Colors.blue,
  10. double indicatorWidth = 40.0,
  11. double indicatorHeight = 26.0,
  12. double indicatorMargin = 3.0,
  13. double indicatorToBottom = 10.0,
  14. BoxShape indicatorShape = BoxShape.rectangle,
  15. FunctionIndicatorBuilder? indicatorBuilder,
  16. bool pageSnapping = true,
  17. bool padEnds = true,
  18. Clip clipBehavior = Clip.hardEdge,
  19. bool reverse = false,
  20. Axis scrollDirection = Axis.horizontal,
  21. CarouselController? controller,
  22. bool disableIndicatorDefaultCallbacks = false,
  23. double imgScale = 1.0,
  24. ImageFrameBuilder? imgFrameBuilder,
  25. ImageLoadingBuilder? imgLoadingBuilder,
  26. bool imgExcludeFromSemantics = false,
  27. AlignmentGeometry imgAlignment = Alignment.center,
  28. ImageRepeat imgRepeat = ImageRepeat.noRepeat,
  29. bool imgMatchTextDirection = false,
  30. bool imgGaplessPlayback = false,
  31. FilterQuality imgFilterQuality = FilterQuality.low,
  32. bool imgIsAntiAlias = false,
  33. ImageErrorWidgetBuilder? imgErrorBuilder,
  34. String? imgSemanticLabel,
  35. double? imgWidth,
  36. double? imgHeight,
  37. Color? imgColor,
  38. Animation<double>? imgOpacity,
  39. BlendMode? imgColorBlendMode,
  40. BoxFit? imgFit,
  41. Rect? imgCenterSlice,
  42. Map<String, String>? imgHeaders,
  43. int? imgCacheWidth,
  44. int? imgCacheHeight,
})

Implementation

const NetImgCarousel(
  this.imageUrls, {
  super.key,
  this.height = 400.0,
  this.width = 0.0,
  this.onUnitTapped,
  this.onIndicatorTapped,
  this.useindicator = true,
  this.indicatorColor = Colors.white,
  this.currentIndicatorColor = Colors.blue,
  this.indicatorWidth = 40.0,
  this.indicatorHeight = 26.0,
  this.indicatorMargin = 3.0,
  this.indicatorToBottom = 10.0,
  this.indicatorShape = BoxShape.rectangle,
  this.indicatorBuilder,
  this.pageSnapping = true,
  this.padEnds = true,
  this.clipBehavior = Clip.hardEdge,
  this.reverse = false,
  this.scrollDirection = Axis.horizontal,
  this.controller,
  this.disableIndicatorDefaultCallbacks = false,
  this.imgScale = 1.0,
  this.imgFrameBuilder,
  this.imgLoadingBuilder,
  this.imgExcludeFromSemantics = false,
  this.imgAlignment = Alignment.center,
  this.imgRepeat = ImageRepeat.noRepeat,
  this.imgMatchTextDirection = false,
  this.imgGaplessPlayback = false,
  this.imgFilterQuality = FilterQuality.low,
  this.imgIsAntiAlias = false,
  this.imgErrorBuilder,
  this.imgSemanticLabel,
  this.imgWidth,
  this.imgHeight,
  this.imgColor,
  this.imgOpacity,
  this.imgColorBlendMode,
  this.imgFit,
  this.imgCenterSlice,
  this.imgHeaders,
  this.imgCacheWidth,
  this.imgCacheHeight,
});