text property
String
get
text
Gets or sets the text of the StickyNoteAnnotation.
Implementation
String get text => _text;
set
text
(String newValue)
Implementation
set text(String newValue) {
if (_text != newValue) {
final bool canChange = onPropertyChange?.call(this, 'text') ?? true;
if (canChange) {
final String oldValue = _text;
_text = newValue;
onPropertyChanged?.call(this, 'text', oldValue, newValue);
notifyChange();
}
}
}