fillScale property

double get fillScale

totalScale at which the un-rotated image exactly fills crop — telegram's minimumZoomScale. Pinching below it rubber-bands.

Implementation

double get fillScale => dartmath.max(
  crop.width / imageSize.width,
  crop.height / imageSize.height,
);