Search packages, repositories and app categories

pdf_viewer_plugin cover
Package detailsv2.0.1

pdf_viewer_plugin

A Flutter plugin for IOS and Android providing a simple way to display local file PDFs (enter to see some gifs).

AndroidiOS
30-day downloads
837
Likes
70
Pub points
130

Install package

flutter pub add pdf_viewer_plugin

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter plugin for Android and iOS that enables simple display of local PDF files within apps. It provides a straightforward interface to render PDFs from device storage, making it ideal for document viewing features. The plugin is lightweight and integrates seamlessly with Flutter's UI framework. It supports basic navigation through pages and is designed for ease of use without requiring complex setup. The source code is publicly available on GitHub for transparency and customization.

Use cases

  • Displaying local PDF documents in mobile apps
  • Integrating PDF reading functionality into educational apps
  • Enabling document review in business or productivity tools

Key features

  • Supports Android and iOS platforms
  • Simple API for loading local PDFs
  • Built-in page navigation
  • Lightweight and easy to integrate
  • Open-source on GitHub

Suitable for

  • Developers building document-centric apps
  • Educational or enterprise applications needing PDF viewing
  • Apps requiring minimal PDF rendering complexity

Considerations

  • Does not support remote PDF URLs
  • Limited to local file system access
  • No advanced PDF features like annotations or search

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Pdf Viewer Plugin

pub package

A Flutter plugin for IOS and Android providing a simple way to display PDFs.

Features:

  • Display PDF.

android           ios

Installation

First, add pdf_viewer_plugin as a dependency in your pubspec.yaml file.

iOS

Add this lines to the ios/Runner/info.plist:

...

<key>io.flutter.embedded_views_preview</key>
<true/>
Example

The plugin works like a normal widget

class PdfApp extends StatelessWidget {
  const PdfApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return PdfView(path: 'pdf_file_path');
  }
}

Feedback welcome and Pull Requests are most welcome!

Categories

Dependencies

Dependency list 1 items

  • pedantic^1.11.1

Source repository

Projects using this package