Skip to content
pubscout

easy_pdf_viewer

1.0.8, released 3 years ago by kaichi.dev

A Flutter plugin for handling and viewing PDF files.

$ flutter pub add easy_pdf_viewer
Source repository

What it does

A Flutter plugin for handling PDF files that supports loading from assets, URLs, or local files on Android and iOS. It includes a pre-built PDF viewer widget to display pages and supports custom page loading and zooming.

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

Use it when

  • You need to display PDF documents within an Android or iOS Flutter application.
  • You want a pre-built PDF viewer widget with built-in navigation and controls.
  • You need to load PDFs from assets, URLs, or local files.

Skip it when

  • You need support for desktop or web platforms.
  • You require complex PDF editing or form-filling capabilities.

Strengths

  • Supports loading PDFs from multiple sources (assets, URLs, and files).
  • Includes a pre-built PDF viewer widget for quick integration.
  • Requires no special native permissions on Android or iOS.

Weaknesses

  • Limited to Android and iOS platforms.
  • No advanced PDF editing capabilities documented.

Setup

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

No permissions required for Android or iOS. Uses application cache directory.

PDFDocument doc = await PDFDocument.fromAsset('assets/test.pdf');
PDFViewer viewer = PDFViewer(document: document);

Alternatives

Packages that do the same job and could replace easy_pdf_viewer.

  • pdf

    A PDF generation library for Dart and Flutter using a widget-like layout system.

  • syncfusion_flutter_pdf

    Native Dart library for creating, reading, editing, and securing PDF files.

  • pdf_combiner

    Merge multiple PDF documents and images into a single file or extract images from PDFs.

  • native_pdf_view

    Flutter plugin to render and display PDF files across Web, macOS, Windows, Android, and iOS.

Works with

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