FLUTTER ECOSYSTEM

pdfjs

Dart bindings for Mozilla's PDF.js library

Latest version
2.12.9
30-day downloads
1.8K
Likes
3
Pub points
100

Package Overview

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

Overview

pdfjs provides Dart bindings for Mozilla's PDF.js library, enabling web-based PDF rendering and manipulation within Flutter applications. It allows developers to display, navigate, and interact with PDF documents directly in the browser using the powerful PDF.js engine. The package is optimized for web platforms and integrates seamlessly with Flutter's web deployment. It supports features like text extraction, page rendering, and zooming, making it ideal for document-heavy web apps.

Use cases
  • Rendering PDFs in web Flutter apps
  • Extracting text from PDF documents
  • Displaying multi-page PDFs with navigation
  • Embedding interactive PDF viewers
  • Building document management interfaces
Key features
  • Web-only support
  • Integration with PDF.js engine
  • Text extraction capabilities
  • Page-by-page rendering
  • Zoom and pan functionality
Suitable for
  • Web-based document viewers
  • PDF annotation tools
  • Content delivery platforms
  • Educational apps with PDFs
  • Internal documentation portals
Considerations
  • Limited to web platform
  • Depends on external PDF.js library
  • Potential performance with large PDFs
  • Requires proper CORS configuration for remote PDFs
  • May need additional styling for UI customization
Supported platformsWeb

Install package

flutter pub add pdfjs

Categories

Dependencies

Dependency list 1 items

Source repository

Related projects

No data available yet.