PackageTrack
Sign in Get early access

advanced_pdf_viewer

A high-performance PDF viewer for Flutter with support for Arabic text rendering, RTL reordering, and advanced annotations (draw, text, highlight, underline) with snap-to-text.

0.13.1 AhmadAbbas8/advanced_pdf_viewer

What this package is like to depend on

Last release 4 months ago

27 Mar 2026

Ships on a steady schedule

a new release about every 2 weeks

Most releases are documented

notes for 15 of 17 stable releases

Nothing withdrawn

no release was ever pulled

7 months old

17 releases · first in 2026

17 releases in the last 12 months

see the full history below

Release timeline

17 releases · Jan 2026 to Mar 2026
Release Pre-release

Releases

latest 17
  1. 0.13.1 27 Mar 2026
    Release notes
    • Draw Thickness Control: Added adjustable stroke thickness with a live preview inside the color selection bottom sheet.
    • Android Draw Consistency: Fixed Android drawing stroke thickness shrinking after lifting the finger; saved strokes now preserve chosen thickness.
    • Bottom Sheet Overflow Fix: Made the color selection bottom sheet scrollable on small-height devices to prevent overflow.
    Open source →
  2. 0.13.0 16 Mar 2026
    Release notes
    • Zoom Persistence (Android): Dynamic synchronization of zoom and translation states during orientation changes and annotation starts, preventing unintended resets.
    • Pinch-Zoom during Annotation: Added support for multi-finger pinch-zoom gestures while drawing or highlighting on Android.
    • Matrix-Based Mapping: Rearchitected coordinate mapping on Android using Matrix for sub-pixel precision in drawing, highlights, and selection handles.
    • Stability Guards: Implemented "Zero Dimension" guards and layout listeners to maintain stable PDF positioning during complex UI transitions.
    • Optimized Refreshing: Improved redraw performance by refreshing only the specific page items being modified.
    Open source →
  3. 0.12.0 08 Mar 2026
    Release notes
    • Interactive Selection: Added circular drag handles for highlight and underline tools on both iOS and Android for a more native editing experience.
    • Word Snapping: Implemented intelligent word-level snapping for precision annotations, ensuring highlights and underlines align perfectly with text bounds.
    • Sentence Selection: Added support for double-tap/click gestures to quickly select and annotate entire sentences.
    • Enhanced Text Annotations: Improved text annotation positioning and accuracy; added support for fontSize and drag offsets (deltaX, deltaY) in the controller.
    • RTL Accuracy: Significantly improved handle positioning and selection logic for RTL (Arabic) text.
    Open source →
  4. 0.11.0 25 Feb 2026
    Release notes
    • Enhanced Search: Significantly improved Arabic text search accuracy with advanced normalization, character form handling (ligatures, presentation forms), and sophisticated regex patterns.
    • Highlights & Annotations: Refactored Android text annotations to use an overlay system for better control over positioning and resizing.
    • Annotation Precision: Fixed text annotation commit positions to ensure saved coordinates precisely match the overlay position.
    Open source →
  5. 0.10.0 09 Feb 2026
    Release notes
    • iOS Crash Fix: Fixed critical iOS crash when highlighting or underlining image-based PDFs (scanned documents without text layers).
    • Exception Handling: Implemented Objective-C exception handlers to safely catch and handle PDFKit exceptions that Swift cannot catch.
    • Stability: Added proactive text content detection before attempting selection operations to prevent crashes at the Objective-C level.
    Open source →
  6. 0.9.0 01 Feb 2026
    Release notes
    • Color Selection: Added dynamic color selection for all drawing tools (Draw, Highlight, Underline, Text).
    • Interaction: Support for double-clicking/tapping an active tool button to open the color selection dialog.
    • Color Picker: New bottom sheet dialog with 6 default colors and a custom color palette (+ button).
    • Text Color Support: Added textColor to PdfViewerConfig to customize the default color for text annotations.
    • Configuration: New configuration options enableColorSelection and tool-specific default color lists.
    • Fix: Resolved UI sync issue where the color picker did not reflect the currently active color.
    Open source →
  7. 0.8.0 01 Feb 2026
    Release notes
    • Text Search: Full-text search support on Android (PDFBox) and iOS (PDFKit) with native highlighting and navigation.
    • Search UI: Integrated search bar in the toolbar with a loading indicator, real-time result counting, and auto-focus.
    • Search Navigation: Smooth navigation between search results with "Next" and "Previous" actions.
    • Localization: Full internationalization for the entire toolbar (Pan, Draw, Highlight, Underline, Search, etc.) in English and Arabic.
    • Android Engine: Restructured native binding to resolve compilation errors and optimized memory usage for text extraction.
    • UI/UX Polish: Improved toolbar adaptive styling and resolved multiple lint issues.
    Open source →
  8. 0.7.0 27 Jan 2026
    Release notes
    • Bookmarks System: Complete bookmark management (save, view, delete) with persistent storage implementation.

    • Internationalization (i18n): Full support for English and Arabic languages, including automatic RTL layout and translated UI strings.

    • Smart SnackBar: New overlay-based toast notification system with custom "Slide Up" animations and guaranteed dismissal.

    • Page Tracking: Added onPageChanged callback and getCurrentPage() method for real-time page position tracking.

    • UI Enhancements: Improved dialogs and loading indicators with adaptive designs for Android and iOS.

    • Android Crash Fix: Fixed critical OutOfMemoryError and crashes when interacting with or saving large PDF files (>10MB).

    • Memory Optimization: Implemented strict single-document memory strategy and aggressive resource cleanup for Android saves.

    • Performance: Optimized text snapping and drawing on Android using background serialization to prevent UI lag.

    Open source →
  9. 0.6.2 19 Jan 2026

    Nothing published for this version

  10. 0.6.1 09 Jan 2026
    Release notes
    • Page Counter: Added enablePageNumber to PdfViewerConfig to show page numbers on Android (below page) and iOS (on page footer).
    • iOS Security: Disabled text selection actions (Copy, Paste, Look Up, Share, etc.) for better content security.
    • iOS UI: Fixed reversed page numbering on iOS.
    Open source →
  11. 0.6.0 07 Jan 2026
    Release notes
    • Fix Android Bug: Fix Crashed on Android when render pdf
    Open source →
  12. 0.5.1 06 Jan 2026
    Release notes
    • iOS Undo/Redo Fix: Fixed undo/redo functionality on iOS for all annotation types (drawing, highlights, underlines) by implementing proper annotation reference management with page indices.
    • iOS Initial Zoom: Fixed initial zoom level on iOS to properly set to 0.5 (50%) by disabling auto-scaling and setting zoom after document loads.
    Open source →
  13. 0.5.0 06 Jan 2026
    Release notes
    • Secure PDF Loading: Implemented useCache: false to support secure PDF loading where the file is downloaded to a temporary location and immediately deleted after opening, ensuring no persistent copy remains on the device.
    Open source →
  14. 0.4.0 06 Jan 2026
    Release notes
    • Jump to Page: Added jumpToPage method to AdvancedPdfViewerController for programmatic navigation to specific pages.
    • Save PDF: Added savePdf method to AdvancedPdfViewerController for saving annotated PDFs to local storage.
    • Highlight: Added highlightText method to AdvancedPdfViewerController for highlighting text in the PDF.
    • Underline: Added underlineText method to AdvancedPdfViewerController for underlining text in the PDF.
    • Text Note: Added addTextAnnotation method to AdvancedPdfViewerController for adding text notes to the PDF.
    • Draw: Added drawOnPage method to AdvancedPdfViewerController for drawing on the PDF.
    Open source →
  15. 0.3.0 05 Jan 2026
    Release notes
    • Performance Optimization: PDF saving now runs on background threads (Android & iOS) to prevent UI blocking.
    • Adaptive UI: Toolbar icons are now platform-adaptive, providing a native look and feel on both iOS and Android.
    • Lifecycle Management: Added dispose() method to AdvancedPdfViewerController for proper resource cleanup.
    • iOS Stability: Fixed MissingPluginException for setScrollLocked and improved scroll-lock behavior on iOS.
    Open source →
  16. 0.2.0 05 Jan 2026

    Nothing published for this version

  17. 0.1.0 05 Jan 2026
    Release notes
    • Initial Release with robust PDF viewing and annotation features.
    • Arabic Support: Full Arabic character joining (shaping) and BiDi reordering for RTL text.
    • Advanced Annotations: Support for Drawing (pen), Text Notes, Highlights, and Underlines.
    • Snap-to-Text: Highlighting and Underlining automatically snaps to the nearest text line/word.
    • High Performance: Virtualized page rendering (RecyclerView on Android) for smooth browsing of large PDF documents.
    • Customization: Flexible PdfViewerConfig for colors, toolbar options, and full-screen modes.
    • Persistence: Save annotated PDFs to local storage with font embedding for mixed language (Arabic/Latin) support.
    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