Skip to content
pubscout

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.

WASM-ready
$ flutter pub add pdf_viewer_plus
Source repository

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.

Works with

Packages commonly used together with pdf_viewer_plus: ones it builds on, ones built on it, and its own family.