RawImageLoadOptions constructor

RawImageLoadOptions({
  1. Rectangle<int>? cropRect,
  2. ImageOrigin origin = ImageOrigin.TOP_LEFT,
  3. CanvasColor canvasColor = CanvasColor.WHITE,
  4. ImageRotation orientation = ImageRotation.NONE,
})

Implementation

RawImageLoadOptions({
  Rectangle<int>? cropRect,
  this.origin = ImageOrigin.TOP_LEFT,
  this.canvasColor = CanvasColor.WHITE,
  this.orientation = ImageRotation.NONE,
}) : cropRect = cropRect ?? Rectangle<int>(0, 0, 0, 0);