CarouselImages constructor

const CarouselImages({
  1. Key? key,
  2. required List<String> listImages,
  3. required double height,
  4. dynamic onTap(
    1. int index
    )?,
  5. bool cachedNetworkImage = false,
  6. double scaleFactor = 1.0,
  7. double? borderRadius,
  8. Alignment? verticalAlignment,
  9. double viewportFraction = 0.9,
})

Implementation

const CarouselImages({
  Key? key,
  required this.listImages,
  required this.height,
  this.onTap,
  this.cachedNetworkImage: false,
  this.scaleFactor = 1.0,
  this.borderRadius,
  this.verticalAlignment,
  this.viewportFraction = 0.9,
})  : assert(scaleFactor > 0.0),
      assert(scaleFactor <= 1.0),
      super(key: key);