# DavBfr/dart_pdf

Pdf creation module for dart/flutter

Repository: https://github.com/DavBfr/dart_pdf
Canonical: https://ross.abutalabs.com/products/dart_pdf
Homepage: https://pub.dev/packages/pdf
Language: Dart
License: Apache-2.0
License Family: permissive
Topics: dart, pdf, flutter-plugin, pdf-library, pdf-generation, dart-pdf, flutter, hacktoberfest
Last push: 2026-07-18T10:43:53+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 35, longevity 100
- inputs: {"age_days": 2979, "days_push": 46, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1527, forks 758 (observed 2026-08-28T04:04:58.471107+00:00)

## What it is
A Dart/Flutter library for creating PDF documents, offering both a low-level PDF generation API and a Flutter-like widget system for high-level document building. It supports multi-page documents with graphics, images, TrueType fonts, and works across mobile, desktop, and web targets.

## Use cases
- generate pdf invoices from a flutter app
- create multi-page pdf reports with images and text
- print documents to a device printer from mobile
- build pdf files on the web with dart
- generate pdf/a compliant documents
- render custom fonts in generated pdfs
- create pdf receipts with barcodes

## When to choose
- you are building a Flutter or Dart app that needs to generate PDFs
- you want a widget-based API for laying out PDF documents
- you need cross-platform PDF generation including web
- you need PDF/A support or TrueType font embedding

## When to avoid
- you need to parse or edit existing PDF files rather than create them
- you need server-side PDF rendering from HTML
- your project is not Dart/Flutter based

## Facets
- artifact type: library
- maturity: stable
- function: pdf, templating, image-processing
- domain: pdf, mobile-development, web-development, cross-platform, files
- platform: windows, cross-platform
- tags: flutter, pdf-generation, printing, widgets, truetype-fonts, pdfa, barcode, android, ios, web, macos, linux

## Member repositories
- DavBfr/dart_pdf (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.471107+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:32.123196+00:00, confidence not recorded.
  - readme: https://github.com/DavBfr/dart_pdf (fetched 2026-08-28T04:04:58.471107+00:00, sha ec77b9a2f404)
  - homepage: https://pub.dev/packages/pdf (fetched 2026-08-29T11:34:00.835323+00:00, sha 7c5f4e39fef2)
  - site_page: https://pub.dev/packages/pdf/install (fetched 2026-08-29T11:34:00.847776+00:00, sha e2f12c65afe3)
  - site_page: https://pub.dev/documentation/pdf/latest (fetched 2026-08-29T11:34:00.849866+00:00, sha 34dd328863ad)
  - site_page: https://pub.dev/packages/pdf/changelog (fetched 2026-08-29T11:34:00.845300+00:00, sha 9a88c0c28b02)
- Data as of 2026-08-30T08:39:29.467469+00:00.
