renderPdfPageToImageBytes method

  1. @override
Future<Uint8List?> renderPdfPageToImageBytes({
  1. required String pdfPath,
  2. required int pageIndex,
  3. int? width,
})
override

Implementation

@override
Future<Uint8List?> renderPdfPageToImageBytes({
  required String pdfPath,
  required int pageIndex,
  int? width,
}) {
  return methodChannel.invokeMethod<Uint8List>('renderPdfPageToImageBytes', {
    'pdfPath': pdfPath,
    'pageIndex': pageIndex,
    'width': width,
  });
}