NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2027 most downloaded on pub.dev
A Dart package that converts HTML and Markdown rich text content into high-quality PDF widgets. Simplify the creation of PDF documents by seamlessly transforming your structured text content into printable, professional PDFs. Perfect for generating reports, invoices, and more!
Last release 8 days ago
30 Sep 2026
Release timing varies
gaps range from 1 weeks to 6 months
Nearly every release is documented
notes for 31 of 32 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
34 releases · first in 2023
Docs: update READMEs for docx_creator 1.4.0, docx_file_viewer 1.0.5 a…
Docs: update READMEs for docx_creator 1.4.0, docx_file_viewer 1.0.5 a…
Word<b>glued</b>) are no longer split by an invented space, and whitespace between elements is kept. <br> inside a paragraph now breaks the line instead of being dropped.type, start, reversed, value, list-style-type (decimal, alpha, roman, greek, disc/circle/square), and per-depth bullets. Task-list items show only their checkbox.colspan/rowspan, block content in cells (paragraphs, lists, images), <caption>, cell/row CSS borders and backgrounds, valign/vertical-align, cellpadding, explicit column widths, content-weighted column widths, and repeating <thead> rows. border="0"/border: none removes the grid. A rowspan cell now covers all of its rows (spanned rows used to get empty bordered cells), the extra height of a tall spanning cell is spread over its rows as in a browser, and a page never breaks inside a rowspan group. vertical-align: top/bottom were swapped and now match the browser.<pre> (headings scale with defaultFontSize).<pre>/<code>: whitespace preserved, monospace (Courier) font, background and padding applied.<sub>/<sup> baseline shifts, <small>, <big>, <ins>, <cite>, <kbd>, <font color/face/size>, <center>, <dl>/<dt>/<dd>; links stay clickable on nested formatting (<a><b>..</b></a>).margin: auto/text-align centering, per-side borders.<math> renders natively — fractions (mfrac), sub/superscripts (msub, msup, msubsup), roots (msqrt, mroot), under/over scripts (munder, mover, munderover), fences (mfenced), matrices (mtable), tokens (mi, mn, mo, mtext, mspace), inline on the text baseline or centered with display="block" (or CSS display: block). Supports mstyle/mathcolor/mathsize/displaystyle, linethickness, mlabeledtr and MathML length units. Sum/product/integral signs are drawn as vector shapes; other symbols outside Latin-1 use fontFallback fonts, or readable text fallbacks (pi, <=) when none are given.<style> blocks now support descendant/child/sibling combinators, attribute selectors, structural pseudo-classes (:first-child, :nth-child(odd), ...), specificity ordering and !important. Multi-value declarations (margin: 0 auto) are no longer truncated, and stylesheet values go through the same parser as inline styles (units were previously ignored).width, bgcolor, align, ...) now sit below author CSS in the cascade, as in browsers.red is #FF0000, navy is #000080), #rgb/#rgba/#rrggbbaa, rgb()/rgba() with percentages or space syntax, hsl()/hsla().margin-*, padding-*, border-top/right/bottom/left, border-width/color/style, background, font shorthand, text-decoration-color/style and combined decorations.em/%/keyword font sizes resolve against the parent; numeric font-weight (600+ is bold); line-height (unitless, %, length; inherited); letter-spacing; text-transform; white-space; vertical-align: super/sub; mm, cm, pc, ex, ch units.HtmlTagStyle.codeBlockBackgroundColor (inline <code>) and codeblockColor (<pre> background) now default to light grey instead of red/mid-grey. Links default to browser blue (#0000EE), <th> is bold and centered with no forced background, and <blockquote> is no longer italic.print output from the new engine.One column per quarter.
Updated package logo with a modern, futuristic design.
Layout-First Rendering Engine: Major architectural refactor for Chrome-like PDF accuracy.
display: flex support with mapping to pw.Flex. Supports flex-grow, flex-direction, justify-content, and align-items.HtmlParser), layout calculation (LayoutSolver), and PDF construction (PdfBuilder) for better extensibility.(#63) feat: add .gitignore and remove ignored files by @alihassan143
New Architecture: Introduced a "Browser Rendering Engine" architecture for more robust HTML to PDF conversion.
HTMLToPdf.convert to support the new engine via useNewEngine: true.vertical-align).textDirection support for RTL languages (Arabic, Hebrew).fontFallback support for Emojis and complex scripts in the new engine.blockquote, pre, code, hr, checkbox, and more.HtmlTagStyle in the new engine.Fixed inline rendering of checkboxes (now flow with text).
vertical-align).textDirection support for RTL languages (Arabic, Hebrew).fontFallback support for Emojis and complex scripts in the new engine.New Architecture: Introduced a "Browser Rendering Engine" architecture for more robust HTML to PDF conversion.
lib/src/browser/css_style.dart).lib/src/browser/render_node.dart).lib/src/browser/pdf_builder.dart).HTMLToPdf.convert to support the new engine via useNewEngine: true.blockquote, pre, code, hr, checkbox, and more.HtmlTagStyle in the new engine.* *(#52) fix css color parsing
Nothing published for this version
Fix markdown table issue and added more markdown properties modifiers
*(#46) Add support for local image files
*(#46) Add support for local image files
added support for horizontal divider
fix: Links get formatted but are not clickable in the PDF
fix nested child skipping issue fixed
added wrap in paragraph element feature for html text
Docs: update READMEs for docx_creator 1.4.0, docx_file_viewer 1.0.5 a…
Docs: update READMEs for docx_creator 1.4.0, docx_file_viewer 1.0.5 a…
docx_file_viewer 1.0.4: restore showFootnotes/showEndnotes (fixes #12 …
docx_file_viewer 1.0.4: restore showFootnotes/showEndnotes (fixes #12…
Bump version and add CHANGELOG entry for the twips/points pixel-scale fix, PUA bullet fallback, and dotted/dashed border fix.
flutter pub publish --dry-run as too tight for consumers).style: refactor formatting and line wrapping across widgets and tests
style: refactor formatting and line wrapping across widgets and tests
* update readme
fix Can't manage to render colors
using override dependency for pdf due to underline and italic issues
fix internal css decoration not working
Bump AGP to 9.3.1 (from 8.11.1) and the example app's Gradle wrapper to 9.6.1 to satisfy AGP 9.3's minimum Gradle requirement.
flutter build apk --debug against the example app.* update reamdme.md
support for html table tag added
* support custom styles
nested elements children support
* multiple styles on same text * font fallback and font added
* missing image element added
* optimization
* depedency updates
* network image fixes.
* Describe initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →