ImageView360 constructor

ImageView360({
  1. required Key key,
  2. required List<ImageProvider<Object>> imageList,
  3. bool autoRotate = false,
  4. bool allowSwipeToRotate = true,
  5. int rotationCount = 1,
  6. int swipeSensitivity = 1,
  7. RotationDirection rotationDirection = RotationDirection.clockwise,
  8. Duration frameChangeDuration = const Duration(milliseconds: 80),
  9. dynamic onImageIndexChanged(
    1. int? currentImageIndex
    )?,
})

Implementation

ImageView360({
  required Key key,
  required this.imageList,
  this.autoRotate = false,
  this.allowSwipeToRotate = true,
  this.rotationCount = 1,
  this.swipeSensitivity = 1,
  this.rotationDirection = RotationDirection.clockwise,
  this.frameChangeDuration = const Duration(milliseconds: 80),
  this.onImageIndexChanged,
}) : super(key: key);