ImageView360 constructor
ImageView360({
- required Key key,
- required List<
ImageProvider< imageList,Object> > - bool autoRotate = false,
- bool allowSwipeToRotate = true,
- int rotationCount = 1,
- int swipeSensitivity = 1,
- RotationDirection rotationDirection = RotationDirection.clockwise,
- Duration frameChangeDuration = const Duration(milliseconds: 80),
- dynamic onImageIndexChanged(
- 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);