croppedSize property

  1. @override
Size get croppedSize
override

Cropped size of the analysis image corresponding to what is seen on the preview.

Implementation

@override
Size get croppedSize => cropRect != null
    ? Size(
        // TODO Width and height of cropRect are inverted
        cropRect!.size.height,
        cropRect!.size.width,
      )
    : Size(width.toDouble(), height.toDouble());