EasyImageView.imageWidget constructor

const EasyImageView.imageWidget(
  1. Widget imageWidget, {
  2. Key? key,
  3. double minScale = 1.0,
  4. double maxScale = 5.0,
  5. bool doubleTapZoomable = false,
  6. void onScaleChanged(
    1. double
    )?,
})

Create a new instance The optional doubleTapZoomable boolean defaults to false and allows double tap to zoom.

Implementation

const EasyImageView.imageWidget(
  this.imageWidget, {
  Key? key,
  this.minScale = 1.0,
  this.maxScale = 5.0,
  this.doubleTapZoomable = false,
  this.onScaleChanged,
}) : super(key: key);