spannedString property
SpannedString
spannedString
Get the rich text contents managed by this controller.
Implementation
SpannedString get spannedString => SpannedString(text, spans);
Set the rich text contents managed by this controller.
Implementation
set spannedString(SpannedString newString) {
_ignoreSetValue = true;
value = value.copyWith(text: newString.text.string);
_ignoreSetValue = false;
spans = newString.spans;
}