openPdf static method

Future<int?> openPdf({
  1. required String path,
})

Open a PDF from the given path.

Implementation

static Future<int?> openPdf({
  required String path,
}) async {
  final pdf = await _channel.invokeMethod<int>('openPDF', {
    'path': path,
  });
  return pdf;
}