PdfViewer.openData constructor
PdfViewer.openData(
- Uint8List data, {
- Key? key,
- PdfViewerController? viewerController,
- PdfViewerParams? params,
- OnError? onError,
Open PDF data on byte array.
Implementation
factory PdfViewer.openData(
Uint8List data, {
Key? key,
PdfViewerController? viewerController,
PdfViewerParams? params,
OnError? onError,
}) =>
PdfViewer(
key: key,
doc: PdfDocument.openData(data),
viewerController: viewerController,
params: params,
onError: onError,
);