pdf_viewer_plus
2.1.1, released 4 weeks ago by useradgents.com
A Flutter PDF viewer with a collapsible thumbnail sidebar and flow view.
What it does
Provides a comprehensive PDF viewer widget supporting both interactive zooming/panning and a static flow view. Includes features like a collapsible thumbnail sidebar, double-tap to zoom, page indicator, keyboard navigation, and accessibility support.
AI-written summary of version 2.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display PDF documents from local assets or URLs inside your Flutter application.
- You require a built-in thumbnail sidebar for easy multi-page navigation.
- You need a PDF view that can flow naturally inside a parent CustomScrollView.
Skip it when
- You need complex native PDF editing, annotation creation, or form-filling capabilities.
Strengths
- Collapsible thumbnail sidebar for fast navigation
- Both interactive viewer (`PdfViewer`) and content-sized flow view (`PdfFlowView`) options
- Full accessibility (VoiceOver/TalkBack) support and keyboard navigation
- Optimized performance with lazy rendering and shared data
Weaknesses
- Text selection can crash on certain pages without valid text layers and is disabled by default
- Relies on external rendering engine (pdfrx)
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Not documented
PdfViewer(
pdfPath: 'https://example.com/sample.pdf',
initialPage: 3,
initialSidebarOpen: true,
onPageChanged: (page) => print('Now on page $page'),
)Alternatives
Packages that do the same job and could replace pdf_viewer_plus.
- flutter_pdfview
A Flutter plugin providing native PDFView widgets on Android and iOS.
76Compare - syncfusion_flutter_pdfviewer
Flutter PDF Viewer library to display PDF documents seamlessly and efficiently.
86Compare - dart_pdf_editor
Flutter PDF editor and viewer with native rendering and editing tools
83Compare - native_pdf_view
Flutter plugin to render and display PDF files across Web, macOS, Windows, Android, and iOS.
50Compare
Works with
Packages commonly used together with pdf_viewer_plus: ones it builds on, ones built on it, and its own family.