pdfx
Flutter plugin to render & show PDF pages as images on Web, MacOS, Windows, Android and iOS.
2.11.0
347K downloads/mo
#631 most downloaded on pub.dev
ScerIO/packages.flutter
What this package is like to depend on
Last release 3 days ago
20 Aug 2026
Release timing varies
gaps range from 3 weeks to 1.2 years
Nearly every release is documented
notes for 20 of 22 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
22 releases · first in 2022
2 releases in the last 12 months
see the full history below
Release timeline
22 releases · Feb 2022 to Aug 2026
2023
2024
2025
2026
Releases
latest 22-
2.11.020 Aug 2026Release notes
Open source →- Added Swift Package Manager support for iOS and macOS, consolidating the duplicated Apple implementation into shared Darwin sources while retaining CocoaPods compatibility pull#623
- Fixed a NaN/Infinity crash in
PdfViewPinchdocument progress when the document exactly fits the viewport pull#621 - Raised the minimum Flutter version to 3.29.0, since the current
onSurfaceAvailable/onSurfaceCleanupSurfaceProducer.Callbackoverrides do not exist on older engines and failed to compile on Flutter 3.24-3.28 issue#580
-
2.10.020 Aug 2026Release notes
Open source →- Supported AGP 9 built-in Kotlin pull#624
- Supported Windows ARM64 build pull#620
- Fixed Windows build failure on CMake < 3.24 pull#612
- Fixed WASM incompatibilities pull#611
- Exposed
onInteractionStart/onInteractionUpdate/onInteractionEndonPdfViewPinchpull#594 - Replaced deprecated
Matrix4.translate/Matrix4.scalecalls pull#630 - Updated docs to use
dart runinstead of the deprecatedflutter pub runpull#597 - Web: moved the pdf.js presence check from plugin registration to document open, so apps that depend on pdfx without opening a PDF no longer fail to start when pdf.js is not in web/index.html pull#633
-
2.9.213 Jun 2025 -
2.9.101 May 2025 -
2.9.007 Apr 2025 -
2.8.024 Sep 2024 -
2.7.004 Sep 2024 -
2.6.010 Feb 2024 -
2.5.003 Nov 2023 -
2.4.030 Jun 2023 -
2.3.010 Oct 2022 -
2.2.018 Jul 2022Release notes
Open source →- Upgrade dependency
device_info_plusto v4 - Fixed flutter 3.0 build
- Fixed web install script
- Fixed some bugs
- Upgrade dependency
-
2.1.130 Jun 2022Nothing published for this version
-
2.1.030 Jun 2022Release notes
Open source → -
2.0.114 Feb 2022 -
2.0.1+114 Feb 2022 -
2.0.1+222 Mar 2022Release notes
Open source →- Fixed broken links at pub.dev
- Fixed readme
- Update pdfjs version in installation script
-
2.0.1+330 Jun 2022Nothing published for this version
-
2.0.014 Feb 2022Release notes
Open source →- Provide more docs
- Fixed windows support
- Added
buildersargument forPdfViewPinch&PdfView. Example:
PdfViewPinch( builders: PdfViewPinchBuilders<DefaultBuilderOptions>( options: const DefaultBuilderOptions( loaderSwitchDuration: const Duration(seconds: 1), transitionBuilder: SomeWidget.transitionBuilder, ), documentLoaderBuilder: (_) => const Center(child: CircularProgressIndicator()), pageLoaderBuilder: (_) => const Center(child: CircularProgressIndicator()), errorBuilder: (_, error) => Center(child: Text(error.toString())), builder: SomeWidget.builder, ), )- Added widget
PdfPageNumberfor show actual page number & all pages count. Example:
PdfPageNumber( controller: _pdfController, // When `loadingState != PdfLoadingState.success` `pagesCount` equals null_ builder: (_, state, loadingState, pagesCount) => Container( alignment: Alignment.center, child: Text( '$page/${pagesCount ?? 0}', style: const TextStyle(fontSize: 22), ), ), )- Added listenable page number
pageListenableinPdfController&PdfControllerPinch. Example:
ValueListenableBuilder<int>( valueListenable: controller.pageListenable, builder: (context, actualPageNumber, child) => Text(actualPageNumber.toString()), )- Added listenable loading state
loadingStateinPdfController&PdfControllerPinch. Example:
ValueListenableBuilder<PdfLoadingState>( valueListenable: controller.loadingState, builder: (context, loadingState, loadingState) => (){ switch (loadingState) { case PdfLoadingState.loading: return const CircularProgressIndicator(); case PdfLoadingState.error: return const Text('Pdf load error'); case PdfLoadingState.success: return const Text('Pdf loaded'); } }(), )- Removed
documentLoader,pageLoader,errorBuildermloaderSwitchDurationarguments fromPdfViewPinch&PdfView - Removed
pageSnapping,physicsarguments fromPdfViewPinch - Rename
PdfControllerPinchpage control methods like aPdfControllercontrol names
-
1.0.110 Feb 2022 -
1.0.1+110 Feb 2022 -
1.0.009 Feb 2022