ImagePreview constructor

ImagePreview({
  1. Key? key,
  2. List<Widget>? images,
  3. int startPosition = 0,
  4. bool showIndex = true,
  5. bool showIndicators = false,
  6. Duration? swipeDuration,
  7. dynamic onChange(
    1. int val
    )?,
})

Implementation

ImagePreview(
    {Key? key,
    this.images,
    this.startPosition: 0,
    this.showIndex: true,
    this.showIndicators: false,
    this.swipeDuration,
    this.onChange});