PdfPageAnnotations class final

The annotations extracted from a single PDF page.

Produced by PdfDocument.extractAnnotations. Each item in the stream corresponds to one page. Pages with no annotations emit an entry with an empty annotations list, so callers can track page coverage without gaps.

Constructors

PdfPageAnnotations({required int pageIndex, required List<PdfAnnotation> annotations})
Creates an immutable PdfPageAnnotations value.
const

Properties

annotations List<PdfAnnotation>
The annotations found on this page, in the order returned by PDFium.
final
hashCode int
The hash code for this object.
no setterinherited
pageIndex int
Zero-based index of the page this result corresponds to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited