NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #3524 most downloaded on pub.dev
A Flutter plugin that uses native WebView (Android WebView / iOS WKWebView) to render HTML and convert it to a high-quality PDF file.
Last release 4 months ago
24 May 2026
Ships unpredictably
gaps range from 1 weeks to 2.0 years
Nearly every release is documented
notes for 14 of 15 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
15 releases · first in 2023
feat: Update iOS and macOS integration for flutter_native_html_to_pdf by @Pisey-Nguon in #48
Full Changelog: 3.0.2...3.1.0
ios/flutter_native_html_to_pdfios/Classes to ios/flutter_native_html_to_pdf/Sources/flutter_native_html_to_pdfFix iOS PDF background colors stripped by WebKit print mode by @Copilot in #43
One column per month.
Full Changelog: 3.0.0...3.0.2
Update macOS and iOS configurations, remove unused dependencies, and add generated files
40 pdf formate issue after migration by @Pisey-Nguon in #41
Full Changelog: 2.0.3...3.0.0
pdf and html packagesHtmlToPdfConverter to use platform channels for native PDF generationhtml_parser.dart) in favor of native WebView renderingVersion 3.0.0 returns to using native platform code, which provides better rendering quality and CSS support compared to the pure Dart implementation in v2.x. The API remains largely the same, but the underlying implementation now requires Android and iOS platforms.
Fix incorrect percentage value conversion in CSS dimension parsing by @Copilot in #37
Full Changelog: 2.0.2...2.0.3
_parseDimension methodwidth: 70%, border-radius: 50%) were being converted to incorrect fixed pixel valuesnull for percentage values since they require layout context that's not available at parse timeAdd support for border-radius, width, height, and min-height CSS properties by @Copilot in #35
Full Changelog: 2.0.1...2.0.2
Bug Fix (2.0.2 Patch):
Fix: Block elements with backgrounds/borders now span full page width in PDFs by @Copilot in #33
Full Changelog: 2.0.0...2.0.1
<div> and <p>) with background colors or borders now span the full page width in generated PDFs, matching browser behavior
background-color CSS property only wrapped their content widthfeat: Implement pure Dart HTML to PDF conversion by @Pisey-Nguon in #31
Full Changelog: 1.1.6...2.0.0
HtmlToPdfConverter instead of FlutterNativeHtmlToPdfPdfPageSize.fromMillimeters() factory for creating page sizes from millimeter valuesPdfPageSize.fromInches() factory for creating page sizes from inch valuesPdfPageSize.landscape and PdfPageSize.portrait getters for orientation conversionPdfPageSize.b5 and PdfPageSize.executive predefined page sizesFile and Uint8List instead of File? and Uint8List?)// Old (v1.x)
final plugin = FlutterNativeHtmlToPdf();
final pdfFile = await plugin.convertHtmlToPdf(...);
// New (v2.x)
final converter = HtmlToPdfConverter();
final pdfFile = await converter.convertHtmlToPdf(...);
FlutterNativeHtmlToPdf class is deprecated. Use HtmlToPdfConverter instead.Add convertHtmlToPdfBytes to return PDF as Uint8List without file I/O by @Copilot in #6
Full Changelog: 1.0.0...1.1.6
Refactor code for improved readability by removing unnecessary blank lines and formatting adjustments across multiple files
Refactor PDF generation code by removing debug print statements and improving file path construction
Fix PDF generation null return by adding early return after failure callback
Fix iOS 26 compatibility: Fixed crash on iOS 26 caused by missing WKNavigationDelegate policy methods
decidePolicyForNavigationAction and decidePolicyForNavigationResponse delegate methodsFix iOS color and font rendering: HTML to PDF conversion on iOS now properly renders CSS colors and custom fonts
Bundle.main.bundleURL to "https://" to match Android behaviorisOpaque = false and clear background for improved CSS supportNothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →