croppedArea property

Size croppedArea

Get the Size of the videoDimension cropped by the points minCrop & maxCrop

Implementation

Size get croppedArea => Rect.fromLTWH(
      0,
      0,
      videoWidth * (maxCrop.dx - minCrop.dx),
      videoHeight * (maxCrop.dy - minCrop.dy),
    ).size;