Skip to content
pubscout

syncfusion_flutter_pdfviewer

35.2.12, released 2 days ago by syncfusion.com

Flutter PDF Viewer library to display PDF documents seamlessly and efficiently.

Uses material_ui
$ flutter pub add syncfusion_flutter_pdfviewer
Source repository

What it does

The Flutter PDF Viewer plugin lets you view PDF documents seamlessly and efficiently on Android, iOS, Web, Windows, and macOS platforms. It provides interactive features like magnification, virtual scrolling, page navigation, text selection, text search, form filling, and text markup annotations.

AI-written summary of version 35.1.43, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display PDF documents from assets, network, files, or memory in your Flutter app.
  • You require advanced PDF features like text selection, search, annotations, form filling, and bookmark navigation.

Skip it when

  • You need a free open-source package, as this is a commercial package requiring a Syncfusion license.
  • You only need simple file picking without an in-app viewer.

Strengths

  • High performance with virtual scrolling for large documents.
  • Rich built-in features including text markup, text search, form filling, and bookmark navigation.
  • Cross-platform support for Android, iOS, Web, Windows, and macOS.

Weaknesses

  • Commercial package requiring a Syncfusion license or community license.
  • Requires additional script tag configurations in web index.html for PDF.js.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
18

For web platform, you must add the PDF.js script tags to your web/index.html file.

@override
Widget build(BuildContext context) {
  return Scaffold(
      body: SfPdfViewer.network(
              'https://cdn.syncfusion.com/content/PDFViewer/flutter-succinctly.pdf'));
}

Alternatives

Packages that do the same job and could replace syncfusion_flutter_pdfviewer.

Works with

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