spannedString property

SpannedString spannedString

Get the rich text contents managed by this controller.

Implementation

SpannedString get spannedString => SpannedString(text, spans);
void spannedString=(SpannedString newString)

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;
}