flutter_pdf_render
flutter_pdf_render copied to clipboard
A Flutter package, which renders PDF pages.
Any plan to support password protected files? Like taking second parameter as password when calling `PdfDocument.openFile(String filename, String password)`
` final document = await PdfDocument.openData(await file.readAsBytes()); for (var i = 0; i < document.pageCount; i++) { final page = await document.getPage(i + 1); // Starts from 1 var imgPDF...
pdf is successfully opened but when i try to render page, web app is crashed. `Error: Expected a value of type 'int', but got one of type 'Null' at Object.throw_...
I briefly looked at the code and to achieve setting scroll physics, a major rewrite would be required. You are currently using `InteractiveViewer`, which doesn't have a `physics` property or...
Document is cropped incorrectly in Android 7.1.1, tested on the emulator Pixel 4. On the same emulator with higher Android versions (starting from Android 8), issue can not be reproduced....
Flutter 2.10.4 Xcode 13.3.1 pdf_render 1.0.23 ``` Launching lib/main.dart on macOS in debug mode... 2022-04-25 13:05:54.663 xcodebuild[90323:5247520] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS...
Hi, I use the following code to display the first page of my pdf file.  Most of the time, everything works perfectly, but sometimes I get the following error...
``` onViewerControllerInitialized: (PdfViewerController? c) { setState((){ pages = c!.pageCount; }); } ``` How to get pageCount after PdfViewer.openFile or PdfDocumentLoader.openFile? Controller.pageCount is null after init Widget. ``` Expand( child: PdfViewer.openFile(...