A pdf producer for Dart. It can create pdf files for both web or flutter.
3.13.0
1000K downloads/mo
#37 most downloaded on pub.dev
DavBfr/dart_pdf
What this package is like to depend on
Last release 2 months ago
16 Jun 2026
Release timing varies
gaps range from 2 weeks to 13 months
Nearly every release is documented
notes for 99 of 100 stable releases
3 versions withdrawn
withdrawn after publishing
8 years old
105 releases · first in 2018
2 releases in the last 12 months
see the full history below
Release timeline
105 releases · Jul 2018 to Jun 2026
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 60 of 105-
3.13.016 Jun 2026Release notes
Open source →- Fix lint issues
- Update xml dependency
- Add PdfException over the pdf classes
- Made svg path xml functions safer for malformed documents
- Update min dart sdk to 3.12.0
-
3.12.015 Mar 2026Release notes
Open source →- Imroved assertion readability [tmbenhura]
- Dropped unachievable assertion check [tmbenhura]
- Correctly calculating bounding boxes from children [tmbenhura]
- Update pdfa README.md [pldelattre]
- Improve pdfa attached files logic [pldelattre]
- Adds Multipage and Inseparable documentation [Ortes]
- import formxobject [gs]
- Subclasses of PdfFormXObject for drawing widgets and SVG [gs]
- new Method drawXObject [gs]
- feat: add CMYK and Adobe APP14 JPEG support [Michael Ryan]
- fix: handle compound glyph offset calculation and null sub-glyph index [illia-romanenko]
- Improve performance of table layout [Pieter van Loon]
- Reduce freezes on web [Kostia Sokolovskyi]
- creates catalog.names earlier for attached files [ilaurillard]
- fix: Prevent "Index out of range" error when reading simple glyphs in certain fonts [Eghosa Osayande]
- Improve PdfRect naming consistency
- Migrate to vector_math 2.2.0
-
3.11.312 Feb 2025 -
3.11.225 Jan 2025Release notes
Open source →- Add support for custom fonts in SVGs. [Tyler Denniston]
- Fix MultiPage.maxPages not checked with release builds
- Fix PdfColorCmyk.fromRgb
- Table widget refactors [Graham Smith]
- Add support for creating PDF/A 3b [ilaurillard]
- Add helper functions to replace text styles and cell content [Brian Kayfitz]
- Fix TextStyle merge decoration [AtlasAutocode]
- Use secure random number generator for document ID generation
-
3.11.108 Aug 2024Release notes
Open source →- Fixed display problems with textfields [ilaurillard]
- Tighten dependencies
-
3.11.026 Jun 2024Release notes
Open source →- Save in an isolate when available
- NewPage with freeSpace extended [Stefan]
-
3.10.821 Feb 2024Release notes
Open source →- Add Flutter's Logical Pixel constant
- Add support for existing reference objects
- Update barcode golden pdf
- Add support for hyphenation [ilja]
- Add an option to disable bidirectional support [Olzhas-Suleimen]
- Fix operator== type in TextDecoration class
- Fixed wrong empty line height [janiselfert]
- Add Support old Arabic method without bidi package [Baghdady92]
-
3.10.703 Dec 2023Release notes
Open source →- Fix empty lines text gap
- Fix lookup index of glyph for space character [Hendrik-Brower]
-
3.10.606 Nov 2023 -
3.10.505 Nov 2023 withdrawnRelease notes
Open source →- Improve TTF writer with multi-compound characters
- Partially revert underline on spans changes
- Add RTL support [Milad-Akarie]
- Fix Arabic fonts missing isolated form [Milad-Akarie]
- Throw multi page error explicitly [Marcin Jeleński]
- Fix deprecations
-
3.10.426 May 2023Release notes
Open source →- Fix Deprecation warning message
- TableHelper data accepts Widgets as child
- Add RTL support on TableHelper
-
3.10.311 May 2023 -
3.10.210 May 2023 withdrawnRelease notes
Open source →- Fix Type1 font widths
- Deprecate PdfArrayObject and PdfObjectDict
- Improve PdfArray and PdfDict constructors
- Fix underline on spans [RomanIvn]
- Improve verbose output
- Allow saving an unmodified document
- Table cell: dynamic widget [Shahriyar Aghajani]
- Move Table.fromTextArray to TableHelper.fromTextArray
- Fix PdfImage constructor without alpha channel [Tomasz Gucio]
- image.fromBytes() pass bytes offset [Aravindhan K]
- Update xml dependency and deprecated getter
-
3.10.128 Mar 2023 -
3.10.026 Mar 2023Release notes
Open source →- Apply BoxShape and BorderRadius to selected Checkbox [Joseph Grabinger]
- Fix Color.toHex()
- Improve Annotations placement
- Improve documentation strings
- Improve verbose output
- Import already defined form
- Add support for deleted objects
- Draw page content only if not empty
- Fix Page Content
- Reorganize data types
- Improve Documents conformity
- Make PdfXref a PdfIndirect descendent
- Move Pdf generation settings to PdfSettings
- Improve PdfXrefTable output
-
3.9.027 Jan 2023Release notes
Open source →- Improve TTF Writer compatibility
- Apply THE BIDIRECTIONAL ALGORITHM using dart_bidi [Milad akarie]
- Add Inseparable Widget
- Fix unit tests
- Update Image dependency
- Fix lints
- Add options to customise border in Dataset widget [838]
- Add Choice Field [Carsten Fregin]
- Add Flutter 3.7 compatibility
-
3.8.422 Oct 2022Release notes
Open source →- Improve Multi-Page layout
- Fix SVG stroke-dasharray parsing
- Fix PDF Generation in WEB release build [gopisekaran krd]
-
3.8.323 Aug 2022Release notes
Open source →- Fix Arabic TextAlign.justify issues Set default text align based on text direction [Milad akarie]
- Bump barcode dependency to 2.2.3
-
3.8.225 Jul 2022Release notes
Open source →- Fix Compressed Cross-Reference ID
- Fix exif orientation [deepak786]
- Remove debug print statements
-
3.8.120 May 2022Release notes
Open source →- Fix large PDF generation on web with compressed xref
- Fix RangeError Exception When MultiPage Wraps Across Pages [scottdewald]
- Add headerCellDecoration to Table.fromTextArray [Enrique Cardona]
-
3.8.010 May 2022Release notes
Open source →- Update xml dependency range
- Implement PointDataSet for Chart
- Implement PdfPageLabels
- Typo: rename "litteral" with "literal"
- Fix tabs and other spaces placeholder
- Prevent modifying the document once saved
- Improve Table Of Content
-
3.7.413 Apr 2022Release notes
Open source →- Fix Bidirectional text (Arabic + Latin words) order and line breakers issue #990 [Milad]
-
3.7.320 Mar 2022Release notes
Open source →- Fix missing endobj with compressed xref
- Fix missing smask subtype
- Add missing final "~>" to Ascii85 encoder
- Fix typo "horizontalCenter"
- Add OverflowBox
-
3.7.212 Mar 2022Release notes
Open source →- Improve debugging information
- Fix parsing TTF fonts with zero-length glyphs
-
3.7.102 Feb 2022 -
3.7.030 Jan 2022 withdrawnRelease notes
Open source →- Fix imports for Dart 2.15
- Fix TTF font parser for NewsCycle-Regular.ttf
- Move files
- Depreciate Font.stringSize
- Implement fallback font
- Implement Emoji support
- Improve outlines containing non-sequential level increments [Roel Spilker]
- Add debugging information
-
3.6.507 Dec 2021 -
3.6.405 Dec 2021 -
3.6.321 Nov 2021 -
3.6.210 Nov 2021 -
3.6.121 Oct 2021Release notes
Open source →- Fixes crash when array is empty [Kondamon]
- Fix arabic word issues [Mohamedfaroouk]
-
3.6.014 Sep 2021Release notes
Open source →- Fix text justify with multiple paragraphs
- Apply Flutter 2.5 coding style
- Prefere unicode FontName
-
3.5.001 Sep 2021Release notes
Open source →- Add annotations [John Harris]
- Improve image decoding error messages
- Fix Exif decoding
-
3.4.219 Jun 2021 -
3.4.119 Jun 2021Release notes
Open source →- Fix Nunito font parsing
- Allow reusing an ImageProvider and Font on multiple documents
-
3.4.017 Jun 2021Release notes
Open source →- Fix Text.softWrap behavior
- Add TableOfContent Widget
- Add LinearProgressIndicator
- Add PdfOutline.toString()
- Add equality operator to PdfPageFormat
- Improve TextStyle decoration merging
- Add PdfColor.flatten
- Add A6 page format
- Apply Flutter 2.2 format
- Fix Signature Flags
-
3.3.026 Apr 2021Release notes
Open source →- Implement To be signed fields
- Improve Text rendering
- Add individual cell decoration
- Improve Bullet Widget
- Use covariant on SpanningWidget
- ImageProvider.resolve returns non-null object
- Fix textScalingFactor with lineSpacing
- Implement SpanningWidget on RichText
- Passthrough SpanningWidget on SingleChildWidget and StatelessWidget
- Improve TextOverflow support
- Fix Table horizontalInside borders
- Improve PieChart default colors
- Implement donnut chart
-
3.2.009 Apr 2021Release notes
Open source →- Fix documentation
- Add Positioned.fill()
- Improve GraphicState
- Add SVG Color filter
- Implement Compressed XREF
- Add support for Metadata XML
-
3.1.021 Mar 2021Release notes
Open source →- Fix some linting issues
- Add PdfPage.rotate attribute
- Add RadialGrid for charts with polar coordinates
- Add PieChart
- Fix Text layout with softwrap
- Fix letterSpacing issue
-
3.0.103 Mar 2021 -
3.0.028 Feb 2021Release notes
Open source →- Fix Checkbox Widget
- Fix SVG colors with percent
- Fix TextField Widget
- Fix border painting with TableRow
-
3.0.0-nullsafety.110 Feb 2021 pre-releaseRelease notes
Open source →- Fix Table border
- Convert BorderStyle to a class
- Implement dashed Divider
-
3.0.0-nullsafety.003 Feb 2021 pre-release -
2.1.010 Feb 2021Nothing published for this version
-
2.0.006 Jan 2021Release notes
Open source →- A borderRadius can only be given for a uniform Border
- Add LayoutWidgetBuilder
- Add GridPaper widget
- Improve internal structure
- Add some asserts on the TtfParser
- Add document loading
- Remove deprecated methods
- Document.save() now returns a Future
- Add Widget.draw() to paint any widget on a canvas
- Improve Chart labels
- Improve BoxBorder correctness
- Fix Exif parsing with an offset
-
1.13.019 Dec 2020Release notes
Open source →- Implement different border-radius on all corners
- Add AcroForm widgets
- Add document outline support
- Update analysis options
- Fix the line cap and joint enums
- Fix PdfOutlineMode enum
- Improve API documentation
- Add support for Icon Fonts (MaterialIcons)
- Opt-out from dart library
- Improve graphic operations
- Automatically calculate Shape() bounding box
- Improve gradient functions
- Add blend mode
- Add soft-mask support
- Remove dependency to the deprecated utf library
- Fix RichText.maxLines with multiple TextSpan
- Fix Exif parsing
- Add Border and BorderSide objects
- Add basic support for SVG images
-
1.12.020 Nov 2020Release notes
Open source →- Add textDirection parameter to PageTheme
- Fix Bar graph offset
- Implement vertical bar chart
-
1.11.220 Sep 2020 -
1.11.110 Sep 2020Release notes
Open source →- Fix Table.fromTextArray alignments with multi-lines text
- Fix parameter type typo in Table.fromTextArray [Uli Prantz]
-
1.11.017 Aug 2020Release notes
Open source →- Fix mixing Arabic with English [Anas Altair]
- Support Dagger alif in Arabic [Anas Altair]
- Support ARABIC TATWEEL [Anas Altair]
- Update Arabic tests [Anas Altair]
- Add Directionality Widget
-
1.10.112 Aug 2020 -
1.10.001 Aug 2020 -
1.9.021 Jun 2020Release notes
Open source →- Allow MultiPage to re-layout individual pages with support for flex
- Implement BoxShadow for rect and circle BoxDecorations
- Implement TextStyle.letterSpacing
- Implement Arabic writing support [Anas Altair]
-
1.8.117 May 2020 -
1.8.013 May 2020Release notes
Open source →- Improve Table.fromTextArray()
- Add curved LineDataSet Chart
- Fix PdfColors.fromHex()
- Update Barcode library to 1.9.0
- Fix exif orientation crash
- Fix Spacer Widget
-
1.7.128 Apr 2020Release notes
Open source →- Fix justified text softWrap issue
- Set a default color for Dividers
- Fix InheritedWidget issue with multiple pages
-
1.7.027 Apr 2020Release notes
Open source →- Implement Linear and Radial gradients in BoxDecoration
- Fix PdfColors.shade()
- Add dashed lines to Decoration Widgets
- Add TableRow decoration
- Add Chart Widget [Marco Papula]
- Add Divider and VerticalDivider Widget
- Replace Theme with ThemeData
- Implement ImageProvider
- Improve path operations
-
1.6.222 Apr 2020Release notes
Open source →- Use the Barcode library to generate QR-Codes
- Fix Jpeg size detection
- Update dependency to Barcode 1.8.0
- Fix graphic state operator
-
1.6.118 Apr 2020 -
1.6.028 Mar 2020Release notes
Open source →- Improve Annotations
- Implement table row vertical alignment
- Improve Internal data structure
- Remove deprecated functions
- Optimize file size
- Add PdfColor.shade
- Uniformize examples
- Fix context painting empty Table
- Fix Text decoration placements
- Improve image buffer management
- Optimize memory footprint
- Add an exception if a jpeg image is not a supported format
- Add more image loading functions