CropTransformation constructor
CropTransformation({
- Dimensions? size,
- AspectRatio? aspectRatio,
- Coordinates? coords,
- 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',
);