pdf_annotations library

A Flutter plugin for viewing and annotating PDF files.

This package provides the PdfAnnotationsView widget, which renders a PDF document and allows the user to perform freehand drawing and add text annotations.

The view is controlled via PdfAnnotationsViewController, which exposes methods for undo/redo, changing annotation properties (color, font size, etc.), and saving the annotations back to the file system.

Classes

PdfAnnotationsView
A widget that displays a PDF document with annotation capabilities.
PdfAnnotationsViewController
Controller for PdfAnnotationsView.
PdfFont

Typedefs

OffsetChangedCallback = void Function(Offset newOffset)
QualityChangedCallback = void Function(QualityValue newQuality)
TextFieldShowingCallback = void Function(bool showing)
ZoomUpdateCallback = void Function(double newZoom)