Skip to content
pubscout

syncfusion_flutter_pdf

35.2.12, released 2 days ago by syncfusion.com

Native Dart library for creating, reading, editing, and securing PDF files.

WASM-ready
$ flutter pub add syncfusion_flutter_pdf
Source repository

What it does

Allows programmatic creation and modification of PDF files including text, images, tables, lists, shapes, encryption, and digital signatures without relying on Adobe Acrobat. Runs across multiple platforms including mobile, desktop, and web.

AI-written summary of version 35.1.43, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to generate PDF reports or invoices programmatically.
  • You need to read, extract text, or modify existing PDFs on device or web.
  • You need to digitally sign, encrypt, or decrypt PDF documents.

Skip it when

  • You cannot use a commercial or Syncfusion community license.
  • You only need to display a PDF on screen using a UI viewer widget (this package is non-UI).

Strengths

  • Feature-rich API supporting PDF creation, editing, tables, text extraction, and digital signatures.
  • Cross-platform support including mobile, desktop, and web.
  • Does not depend on external tools or Adobe Acrobat.

Weaknesses

  • Requires a commercial or free community license from Syncfusion.
  • Non-UI library, so rendering a visual view of a PDF requires additional UI components or wrappers.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
6

Requires importing the package and ensuring a valid Syncfusion license.

import 'package:syncfusion_flutter_pdf/pdf.dart';

final PdfDocument document = PdfDocument();
document.pages.add().graphics.drawString(
    'Hello World!', PdfStandardFont(PdfFontFamily.helvetica, 12),
    brush: PdfSolidBrush(PdfColor(0, 0, 0)),
    bounds: const Rect.fromLTWH(0, 0, 150, 20));
File('HelloWorld.pdf').writeAsBytes(await document.save());
document.dispose();

Alternatives

Packages that do the same job and could replace syncfusion_flutter_pdf.

Works with

Packages commonly used together with syncfusion_flutter_pdf: ones it builds on, ones built on it, and its own family.