Search packages, repositories and app categories

Package detailsv0.1.3+3

pdf_previewer

Provides a way to generate previews of selected pages in a PDF file from a provided path.

30-day downloads
9
Likes
12
Pub points
40

Install package

flutter pub add pdf_previewer

Package Overview

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

The pdf_previewer package enables Flutter applications to generate visual previews of specific pages from a PDF file using a provided file path. It simplifies the process of displaying PDF content within apps without requiring full PDF rendering capabilities. Designed for lightweight preview functionality, it supports efficient extraction and display of individual pages, making it ideal for document viewing features. The package is maintained by miguelruivo.com and hosted on GitHub for transparency and community contributions.

Use cases

  • Displaying thumbnails of PDF pages
  • Previewing selected pages in document apps
  • Integrating PDF previews in mobile forms
  • Enabling quick document review
  • Supporting offline PDF viewing

Key features

  • Page-specific preview generation
  • Simple API with file path input
  • Lightweight PDF rendering
  • Supports local PDF files
  • Easy integration with Flutter UI

Suitable for

  • Document management apps
  • Educational tools with PDFs
  • Mobile forms with document uploads
  • Offline reading applications
  • Content preview interfaces

Considerations

  • Requires local PDF file access
  • Limited to page-level previews
  • No interactive PDF features
  • Depends on underlying rendering engine
  • Not suitable for complex PDF manipulation

Original README

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

pdf_previewer

PDF Previewer plugin alows you to generate PNG's of specified pages from a provided PDF file source.

Installation

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

pdf_previewer: ^0.1.0

Android

Add <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> to your app AndroidManifest.xml file.

iOS

No permissions required.

Demo App

Demo

Example

Check the example app.

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.