AnnotationAction class

Represents an action performed on an annotation.

Used for managing annotation history, undo/redo operations, and distinguishing between adding or removing annotations.

Constructors

AnnotationAction.new(Annotation annotation, AnnotationType type, List<PdfTextMarkupAnnotation> pdfAnnotation, {bool isAdd = true})
Creates an AnnotationAction with the given annotation, type, and pdfAnnotation.

Properties

annotation → Annotation
The annotation widget or object related to this action.
final
hashCode int
The hash code for this object.
no setterinherited
isAdd bool
Flag to indicate whether the action is an addition (true) or removal (false).
final
pdfAnnotation List<PdfTextMarkupAnnotation>
List of corresponding PdfTextMarkupAnnotation objects created or affected during this action.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AnnotationType
The type of annotation (highlight or underline).
final

Methods

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

Operators

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