Search packages, repositories and app categories

pdf cover
Package detailsv3.13.1

pdf

A pdf producer for Dart. It can create pdf files for both web or flutter.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
2M
Likes
3.1K
Pub points
160

Install package

flutter pub add pdf

Package Overview

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

The pdf package is a Dart library for generating PDF files in Flutter and web applications. It enables developers to create, customize, and export PDF documents programmatically with support for text, images, tables, and styling. Designed for cross-platform use, it works seamlessly across Android, iOS, Web, macOS, Windows, and Linux. The package is widely used for reports, invoices, and document exports. Its API is intuitive and well-documented, making it accessible for both beginners and experienced developers.

Use cases

  • Generating dynamic reports
  • Creating invoices and receipts
  • Exporting data to PDF
  • Building document templates
  • Automating PDF generation in apps

Key features

  • Cross-platform support
  • Rich text and image rendering
  • Customizable layouts
  • Table and list support
  • Easy integration with Flutter and web

Suitable for

  • Flutter developers
  • Web application builders
  • Document automation projects
  • Business app developers
  • Reporting tools

Considerations

  • Large PDFs may impact performance
  • Memory usage increases with complex content
  • Limited advanced PDF features like encryption
  • Requires careful handling of fonts and assets
  • Not intended for PDF parsing or editing

Original README

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

Pdf for Dart and Flutter

Dart CI pub package pub package codecov

This set of plugins allows Flutter apps to generate and print pdf files to the device printer. This plugin works for iOS and Android.

Buy Me A Coffee

Contributing

Follow the instructions here: contributing.

A Makefile is available on the project root directory to download and prepare the dependencies.

Categories

Dependencies

Dependency list 9 items

Source repository

Projects using this package

Rankings