fromImageView method

Implementation

ImageViewController fromImageView(ImageView view) {
  super.fromView(view);
  cacheMode = view.cacheMode ?? true;
  placeholder = view.placeholder;
  placeholderTint = view.placeholderTint;
  placeholderTintMode = view.placeholderTintMode;
  scaleType = view.scaleType;
  _image = view.image;
  imageTint = view.tint;
  imageTintMode = view.tintMode;
  _imageType = view.imageType ?? ImageType.detect;
  _placeholderType = view.placeholderType ?? ImageType.detect;
  return this;
}