flutter_pdf_viewer 0.0.6 flutter_pdf_viewer: ^0.0.6 copied to clipboard
A native Pdf viewer for flutter based on Pdfium Android
flutter pdf viewer #
A native Pdf viewer for flutter, built on AndroidPdfViewer.
P.S. Android Only!
Features #
- Night Mode
- Scroll Bar
- Horizontal swipe
- Pinch to zoom
- Download PDF from URL
- Show inline Videos in Pdf
- Immersive mode
- Page by page analytics
Security #
- Features fast native speed XOR - decryption of files.
- Password protected pdf.
- Download and display PDF from URL without ever touching the disk!
Drawbacks #
-
Inline Pdf Viewing is not supported. ( A new activity is opened ). See #1.A proof of concept for inline PDFs is available at the inline branch.
Install #
To use this plugin, follow the installation instructions.
License: MIT
NOTE: You must add these lines at android/app/build.gradle
.
android {
...
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
Example #
$ git clone https://github.com/pycampers/flutter_pdf_viewer.git
$ cd flutter_pdf_viewer/example
$ flutter run
Preview #
Thanks #
- AndroidPdfViewer for proving this wonderful, and simple to use library.
- #10348.