text property
Gets or sets the content of the annotation.
The string value specifies the text of the annotation.
Implementation
@override
String get text => super.text;
Sets content of the annotation. The string value specifies the text of the annotation.
Implementation
@override
set text(String value) {
final PdfAnnotationHelper helper = PdfAnnotationHelper.getHelper(this);
if (helper.textValue != value) {
helper.textValue = value;
helper.dictionary!.setString(
PdfDictionaryProperties.contents,
helper.textValue,
);
}
}