CropTransformation constructor

CropTransformation({
  1. Dimensions? size,
  2. AspectRatio? aspectRatio,
  3. Coordinates? coords,
  4. CropTagTValue? tag,
})

Implementation

CropTransformation({
  this.size,
  this.aspectRatio,
  this.coords,
  this.tag,
}) : assert(
        size != null || aspectRatio != null,
        'One of `size` or `aspectRatio` should be provided',
      );