OutputImageCrop constructor

OutputImageCrop(
  1. OutputImageCropAspectRatio type, {
  2. Size? size,
  3. Color? padColor,
  4. bool? returnOriginalRect,
})

Implementation

OutputImageCrop(
  OutputImageCropAspectRatio type, {
  Size? size,
  Color? padColor,
  bool? returnOriginalRect,
})  : _type = type,
      _size = size,
      _padColor = padColor,
      _returnOriginalRect = returnOriginalRect ?? false;