RawImage constructor

RawImage({
  1. required Uint8List bytes,
  2. required int width,
  3. required int height,
  4. PdfImageOrientation? orientation,
  5. double? dpi,
})

Implementation

RawImage({
  required Uint8List bytes,
  required int width,
  required int height,
  PdfImageOrientation? orientation,
  double? dpi,
}) : super(PdfRasterBase(width, height, true, bytes).asImage(),
          orientation: orientation, dpi: dpi);