PackageTrack
Sign in Get early access

flutter_pdfview

A Flutter plugin that provides a PDFView widget on Android and iOS.

1.4.5 433K downloads/mo #559 most downloaded on pub.dev endigo/flutter_pdfview

What this package is like to depend on

Last release 16 days ago

08 Aug 2026

Release timing varies

gaps range from 2 weeks to 11 months

Nearly every release is documented

notes for 52 of 52 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

68 releases · first in 2019

18 releases in the last 12 months

see the full history below

Release timeline

68 releases · May 2019 to Aug 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 68
  1. 1.5.0-beta.12 08 Aug 2026 pre-release

    Nothing published for this version

  2. 1.5.0-beta.11 08 Aug 2026 pre-release

    Nothing published for this version

  3. 1.5.0-beta.10 03 Aug 2026 pre-release

    Nothing published for this version

  4. 1.5.0-beta.7 03 Aug 2026 pre-release
    Release notes

    1.5.0-beta.7

    • Improve Android/iOS render quality defaults for #158 (#357)
    • Includes everything in 1.5.0-beta.6
    dependencies:
      flutter_pdfview: 1.5.0-beta.7
    Open source →
  5. 1.5.0-beta.6 03 Aug 2026 pre-release
    Release notes

    1.5.0-beta.6

    • Fix #175: getScreenshot no longer returns a white image under hybrid composition (#356)
    • Includes everything in 1.5.0-beta.5
    dependencies:
      flutter_pdfview: 1.5.0-beta.6

    Note: pub.dev upload may lag briefly due to rate limiting; version is tagged and on migrate/kotlin-swift.

    Open source →
  6. 1.5.0-beta.5 03 Aug 2026 pre-release
    Release notes

    1.5.0-beta.5

    • Fix load flash / first-layout size / iOS blank open (#355):
    • Includes everything in 1.5.0-beta.4
    dependencies:
      flutter_pdfview: 1.5.0-beta.5
    Open source →
  7. 1.5.0-beta.4 03 Aug 2026 pre-release
    Release notes

    1.5.0-beta.4

    • Document Android AcroForm / fillable form field rendering limits (#303, #354)
    • Includes everything in 1.5.0-beta.3
    dependencies:
      flutter_pdfview: 1.5.0-beta.4
    Open source →
  8. 1.5.0-beta.3 03 Aug 2026 pre-release
    Release notes

    1.5.0-beta.3

    • Add first-class onTap callback (Dart + Android + iOS) so single taps are reported from the native PDF view; prefer this over gestureRecognizers + TapGestureRecognizer (#133, #353)
    • Includes everything in 1.5.0-beta.2
    dependencies:
      flutter_pdfview: 1.5.0-beta.3
    Open source →
  9. 1.5.0-beta.2 03 Aug 2026 pre-release
    Release notes

    1.5.0-beta.2

    • Document iOS platform-view composition limits for ColorFiltered / ShaderMask / BackdropFilter over PDFView, with official Flutter evidence and workarounds (#213, #352)
    • Includes everything in 1.5.0-beta.1 (Kotlin + Swift native migration)

    Install

    dependencies:
      flutter_pdfview: 1.5.0-beta.2

    pub.dev: https://pub.dev/packages/flutter_pdfview/versions/1.5.0-beta.2

    Feedback: #351

    Open source →
  10. 1.5.0-beta.1 03 Aug 2026 pre-release
    Release notes

    Co-Authored-By: Claude Opus 5 (1M context) [email protected]
    Claude-Session: https://claude.ai/code/session_01XKmmG2v9eJSWFDLy6mRe8F

    Open source →
  11. 1.4.5 03 Aug 2026
    Release notes

    Stable release of the 1.4.5-beta.11.4.5-beta.5 line; no code changes since 1.4.5-beta.5.

    Highlights since 1.4.4 (see the beta sections below for the full list):

    • BREAKING: minimum Flutter 3.32.0 / Dart 3.8.0
    • BREAKING: Android platform views now use true hybrid composition (initExpensiveAndroidView) — fixes surface lock #263, EGL_NO_DISPLAY crash #280, blanking on rotation #9 / dialogs #182 / load #298, and GPU glitches #306
    • BREAKING: Android external PDF links only auto-launch http/https; other schemes are reported through onLinkHandler instead
    • iOS: fitPolicy (WIDTH / HEIGHT / BOTH) implemented for Android parity, page fit decoupled from autoSpacing #150, onError on bad passwords/documents #211, white background and continuous scrolling #204, Privacy Manifest #271
    • Android: Java 17 toolchain #334, dispose/memory-leak fixes #261, absolute-path loading #266, libc++_shared.so packaging #287
    • New API: minZoom / maxZoom #296, showScrollIndicators #337, onLoadComplete / onDraw, getCurrentPageSize(), getScreenshot(), getPosition() / setPosition(), getScale() / setScale(), reload(), setZoomLimits() #333
    • Document remount when filePath / pdfData changes #181

    Migration from 1.4.4

    1. Raise your app to Flutter ≥ 3.32 and Dart ≥ 3.8.
    2. Android PDF views now use expensive hybrid composition (true platform views); re-check layout and gesture behavior if you embed PDFView in complex widget trees.
    3. Non-http(s) PDF links no longer auto-open — handle them yourself in onLinkHandler.
    Open source →
  12. 1.4.5-beta.5 02 Aug 2026 pre-release
    Release notes
    • Fix #150: iOS initial page fit no longer depends on autoSpacing (spacing vs zoom decoupled); re-fit after placeholder→real bounds and on rotation while preserving user zoom
    • Implement fitPolicy (WIDTH / HEIGHT / BOTH) on iOS for parity with Android (iOS previously ignored the flag and always auto-fit the full page; default FitPolicy.WIDTH now matches Android)
    • Add regression tests for #150 creation-param independence (Dart iOS/Android + Android Robolectric) and iOS fit-scale formula oracle
    • Make standalone Android unit tests runnable: compileOnly Flutter embedding jar, fix android/settings.gradle, add scripts/run_android_unit_tests.sh
    Open source →
  13. 1.4.5-beta.4 02 Aug 2026 pre-release
    Release notes
    • BREAKING: Raise minimum Flutter version to 3.32.0 and Dart SDK to 3.8.0 (aligns with flutter_lints 6 and formatter.page_width)
    • Android: switch platform views from texture hybrid composition (initSurfaceAndroidView) to true hybrid composition (initExpensiveAndroidView) — fixes Surface was already locked! #263, EGL_NO_DISPLAY quick-open crash #280, blank on rotation #9, blank after dialogs #182, blank on load #298, and GPU glitches #306
    • Fix Android layout direction to follow ambient Directionality (was hardcoded RTL)
    • Fix #181: remount platform view when filePath / pdfData changes so a new PDF can load
    • Fix #261: release Pdfium/PDFKit resources on dispose (Android recycle race + iOS observers/document/channel)
    • Restrict Android external PDF link auto-launch to http/https (avoids file:// crashes and unsafe schemes); still reports all schemes via onLinkHandler
    • Serialize concurrent setPosition/setScale through a queue for any number of overlapping callers; null platform replies return false
    • Compare pdfData via cached digests instead of a full per-byte scan on every rebuild
    • Fix #268: avoid NaN CoreGraphics errors by initializing iOS PDFView with a non-zero frame
    • Fix #204: iOS white background (not grey) and continuous vertical page scroll parity with Android
    • Fix #266: load absolute filesystem paths via fromFile on Android (No content provider)
    • Fix #287: pickFirst packaging for libc++_shared.so native merge conflicts
    • Defer Android PDF load until the view has non-zero size; safer dispose before surface draw races
    • Propagate nightMode setting updates to native Android view
    • Document EagerGestureRecognizer for PDFView inside scrollables #265
    • Fix Android external PDF links silently failing on API 30+ package visibility (resolveActivity pre-check)
    • Fix controller deadlock: a failed setPosition/setScale call permanently hung all later position/scale calls
    • Fix iOS silently showing a blank view for wrong/missing passwords — now fires onError (parity with Android)
    • Fix iOS getCurrentPage/onPageChanged reporting a garbage index (NSNotFound) before a page is loaded
    • Validate thumbnailRatio to (0, 1] (Dart assert + Android clamp) — out-of-range values crashed rendering
    • Restructure Dart library into lib/src/ part files; public API unchanged
    • Adopt flutter_lints 6.0 with zero analyzer issues; dartdoc for the entire public API
    • Expand unit tests: controller method channel, native→Dart callbacks, document remount, creation settings
    • Add 64 Android native unit tests (Robolectric/JUnit): URI handling, param parsing, link handler, thumbnail clamp
    • Replace broken example widget test with home-screen / PDFScreen chrome coverage
    • Fix Android setPage resolving before the jump executes; reload pages when nightMode changes; handle unescaped file: URIs on iOS
    Open source →
  14. 1.4.5-beta.3 14 May 2026 pre-release
    Release notes
    • Fixed issue #337: Added showScrollIndicators option to control native scroll indicator visibility.
    Open source →
  15. 1.4.5-beta.2 02 May 2026 pre-release
    Release notes
    • Fix iOS PDF view reporting not ready when it is on initial load
    • Add minZoom and maxZoom to the README.md
    • Fix Android memory leak by recycling PDFView on dispose
    Open source →
  16. 1.4.5-beta.1 28 Apr 2026 pre-release
    Release notes
    • Upgrade Java source/target compatibility from 1.8 to 17 #334
    • Add iOS Privacy Manifest (PrivacyInfo.xcprivacy) #271
    • Fix iOS onError callback not firing for invalid documents #211
    • Fix iOS onPageChanged not triggered on first load #66
    • Fix iOS landscape PDF wrong initial zoom by preserving user-configured max scale factor #247
    • Add configurable maxZoom and minZoom parameters #296
    • BREAKING: Raise minimum Flutter version to 3.27.0 and Dart SDK to 3.6.0
    • Migrate backgroundColor serialization from deprecated Color.value to Color.toARGB32()
    • Update iOS deployment target to 13.0 in podspec and Package.swift (aligns with Flutter's own iOS 13.0+ requirement)
    • Fix example app build error with undefined nightModeBackgroundColor parameter
    • Add onLoadComplete callback triggered when the PDFView has loaded its document #333 @JaseElder
    • Add onDraw callback triggered on each draw within the PDFView #333 @JaseElder
    • Add getCurrentPageSize() controller method returning width and height of the loaded page #333 @JaseElder
    • Add getScreenshot(String fileName) controller method to save a PNG of the PDFView contents #333 @JaseElder
    • Add getPosition() and setPosition(Offset position) controller methods for the PDF top-left offset #333 @JaseElder
    • Add getScale() and setScale(double scale) controller methods for PDF zoom #333 @JaseElder
    • Add reload() controller method to reload the PDF document #333 @JaseElder
    • Add setZoomLimits(double minZoom, double midZoom, double maxZoom) controller method #333 @JaseElder
    • Add safe unboxing and completers for get/set viewport position to avoid contention and race conditions #333 @JaseElder
    • Upgrade AndroidPdfViewer to 3.2.8 #333 @JaseElder
    • Fix deprecated color .value usage #333 @JaseElder
    Open source →
  17. 1.4.4 13 Jan 2026
    Release notes
    • Fixes an Android rendering #330 @TimelessLin
    Open source →
  18. 1.4.3 23 Sep 2025
    Release notes
    • Stable Android 16KB page size support
    • Fix iPad scroll direction crash issue #325
      • Add defensive scroll view configuration for iPad devices
      • Implement gesture conflict resolution to prevent "Failed to determine navigation direction for scroll" errors
      • Add safe layout updates during scrolling animations
      • Use more conservative scroll settings on iPad to improve compatibility
    • Add iPad Safe Mode example in demo app for recommended PDF configurations on iPad
    Open source →
  19. 1.4.2-beta.1 15 Aug 2025 pre-release
    Release notes
    • Add Android 16KB page size support #321 @opsenes
    • Update Android PDF viewer library to io.github.oothp:android-pdf-viewer:3.2.0-beta05
    • Upgrade Android Gradle Plugin to 8.11.1
    • Upgrade Gradle wrapper to 8.14.3
    • Enable AndroidX support
    Open source →
  20. 1.4.1 25 Jun 2025
    Release notes
    • Fixed memory leak on iOS #315 @flbaue
    Open source →
  21. 1.4.1+1 26 Jun 2025
    Release notes
    • Revert .toARGB32() to depricated .value
    Open source →
  22. 1.4.0 29 Dec 2024
    Release notes
    • Add support for Swift Package Manager
    Open source →
  23. 1.4.0+1 17 Apr 2025
    Release notes
    • Add error handling on background color in iOS
    Open source →
  24. 1.3.4 21 Oct 2024
    Release notes
    • Add support for background color 278 @bobbybun
    Open source →
  25. 1.3.3 18 Sep 2024
    Release notes
    • hotfix: Crash on iOS 18
    Open source →
  26. 1.3.2 11 Oct 2023
    Release notes
    • build.gradle namespace #253 @DrBu7cher
    Open source →
  27. 1.3.1 13 May 2023
    Release notes
    • Upgrade compileSdkVersion to 33
    • Upgrade sdk
    Open source →
  28. 1.3.0 31 Mar 2023
    Release notes
    • Upgrade android-pdf-viewer to beta.3
    Open source →
  29. 1.2.9 15 Mar 2023
    Release notes
    • Deprecate fitEachPage
    Open source →
  30. 1.2.8 15 Mar 2023
    Release notes
    • Add documentation on properties
    Open source →
  31. 1.2.7 15 Mar 2023
    Release notes
    • Downgrade android-pdf-viewer from beta.3 to beta.2
    • Upgrade Gradle to 7.3.0
    Open source →
  32. 1.2.6 14 Mar 2023
    Release notes
    • Fixed defaultPage not working on iOS #227 @wmatusiak
    Open source →
  33. 1.2.5 28 Sep 2022
    Release notes
    • Fixed invalid frame of PDFView on IOS #201 @wmatusiak
    Open source →
  34. 1.2.4 28 Sep 2022
    Release notes
    • Change dependency for AndroidPdfViewer #202 @oorfalimak
    Open source →
  35. 1.2.3 03 Aug 2022
    Release notes
    • Fixed the Initial Zoom bug in IOS #192 @moazelsawaf
    Open source →
  36. 1.2.2 01 Mar 2022
    Release notes
    • Updated onDoubleTap on ios #174 @The-Redhat
    Open source →
  37. 1.2.1 25 Aug 2021
    Release notes
    • Updated dependencies to be newest with latest flutter version.
    • Update minimal version of flutter to 2.2.0
    • Updated compileSdkVersion in Android gradle to 30 because in future new apps on Google Play will have to set at least compile version to 30
    • Updated README #148 @PcolBP
    Open source →
  38. 1.2.0 23 Aug 2021
    Release notes
    • Migration Android V2 Embedding & jCenter to mavenCentral #147 @PcolBP
    Open source →
  39. 1.1.0 04 Mar 2021
    Release notes
    • Migrate to nullsafety, add compatible to Flutter 2.0 #130 @stijnie2210
    Open source →
  40. 1.0.4 09 Dec 2020
    Release notes
    • Add support for reading PDF from byte data #122 @tvh, @deakjahn
    Open source →
  41. 1.0.3 22 Jun 2020
    Release notes
    • #81 add support for handle url navigation on flutter.
    Open source →
  42. 1.0.3+1 21 Jul 2020
    Release notes
    • Format lib/flutter_pdfview.dart
    Open source →
  43. 1.0.3+2 29 Jul 2020
    Release notes
    • Add default proguard-rules.
    • Closes #87
    Open source →
  44. 1.0.3+3 19 Aug 2020
    Release notes
    • Remove print statement #95 @krispypen
    • Close #94 @macitkaraca
    Open source →
  45. 1.0.3+4 15 Sep 2020
    Release notes
    • Enable annotation on android #103 @soul
    Open source →
  46. 1.0.3+5 21 Sep 2020
    Release notes
    • iOS proper scaling for PDF with pages on landscape-orientation #104 @andresath
    Open source →
  47. 1.0.3+6 19 Nov 2020
    Release notes
    • Upgrade Android SDK version to 29 #114 @miguelslemos
    Open source →
  48. 1.0.3+7 24 Nov 2020
    Release notes
    • Fixed setPage return value from int to bool on iOS #118 @daisuke310vvv
    Open source →
  49. 1.0.3+8 25 Nov 2020
    Release notes
    • Fixed setPage return value from int to bool on iOS #120 @daisuke310vvv
    Open source →
  50. 1.0.2 23 May 2020
    Release notes
    • pod_target_xcconfig suggested by @zhenpeng0hou
    Open source →
  51. 1.0.2+1 28 May 2020
    Release notes
    Open source →
  52. 1.0.2+2 28 May 2020
    Release notes
    • Close #20
    • Add support tap on link inside the pdf
    Open source →
  53. 1.0.2+3 01 Jun 2020
    Release notes
    • Close #72
    • Fix internal page links
    Open source →
  54. 1.0.2+4 15 Jun 2020
    Release notes
    • #78 fix unlimited zoom out in iOS. @daanporon
    Open source →
  55. 1.0.1 25 Feb 2020
    Release notes
    • Add support on FitPolicy on android
    Open source →
  56. 1.0.0 05 May 2019
    Release notes
    • Initial Release
    • Works better
    Open source →
  57. 1.0.0+1 05 May 2019
    Release notes
    • Update pub description
    Open source →
  58. 1.0.0+2 05 May 2019
    Release notes
    • Set correct scale in iOS
    Open source →
  59. 1.0.0+3 05 May 2019
    Release notes
    • Support enableSwipe in iOS
    Open source →
  60. 1.0.0+4 07 May 2019
    Release notes
    • Add controller functions description in document
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive