pdfium_dart
Dart FFI bindings for PDFium library. Provides low-level access to PDFium's C API from Dart.
0.2.5
286K downloads/mo
#708 most downloaded on pub.dev
espresso3389/pdfrx
What this package is like to depend on
Last release 2 months ago
13 Jun 2026
Ships unpredictably
gaps range from 8 days to 6 months
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
9 months old
10 releases · first in 2025
10 releases in the last 12 months
see the full history below
Release timeline
10 releases · Nov 2025 to Jun 2026
2026
Releases
latest 10-
0.2.513 Jun 2026Release notes
Open source →- Relaxed dependency constraints for broader compatibility with Dart package resolution.
- Improved the
ffigenworkflow for regenerating PDFium bindings.
-
0.2.427 May 2026Release notes
Open source →- Improved PDFium loading diagnostics so fallback failures preserve the original dynamic library load error (#645).
-
0.2.324 May 2026Release notes
Open source →- Fixed PDFium native asset output paths so platform-specific libraries with the same CPU architecture do not collide (#648).
-
0.2.213 May 2026Release notes
Open source →- Fixed macOS universal builds by writing PDFium native assets to architecture-specific build hook output paths (#643).
-
0.2.111 May 2026Release notes
Open source →- Fixed PDFium loading in Flutter tests on macOS when PDFium is provided by the Flutter XCFramework (#640).
-
0.2.005 May 2026Release notes
Open source →- BREAKING:
getPdfium()now resolves PDFium synchronously. - Updated PDFium native assets to chromium/7811.
- Added Dart native-assets packaging for PDFium on Android, Linux, macOS, and Windows.
- Improved runtime PDFium resolution across pure Dart commands and Flutter apps:
- Pure Dart commands on macOS use the bundled
libpdfium.dylibnative asset. - Flutter apps on iOS/macOS use the PDFium XCFramework linked by
pdfium_flutter. - Flutter apps on Linux resolve
libpdfium.sofrom the app shared library directory.
- Pure Dart commands on macOS use the bundled
- Added link-hook coordination so Darwin Flutter apps do not bundle a duplicate PDFium dylib.
- Skipped native PDFium asset builds on iOS, where
pdfium_fluttersupplies the XCFramework.
- BREAKING:
-
0.1.318 Nov 2025 -
0.1.212 Nov 2025Release notes
Open source →- Updated PDFium to version 144.0.7520.0.
- Improved cache directory structure to support multiple PDFium releases.
- Changed
tmpPathparameter tocacheRootPathingetPdfium()for better clarity. - Enhanced documentation for PDFium download and caching mechanism.
-
0.1.110 Nov 2025Release notes
Open source →- Add comments on PDFium class.
- Several PDFium capitalization fixes affecting API names.
-
0.1.010 Nov 2025