text property Null safety

List<int> text

Original text.

Implementation

List<int> get text {
  return _originalText;
}
void text=(Iterable<int> value)

Original text.

Implementation

set text(Iterable<int> value) {
  _originalText.clear();
  _text.clear();

  if (value.isNotEmpty) {
    _originalText.addAll(value);
    _text.addAll(value);
  }

  _normalizeText();

  _recalculateParagraphEmbeddingLevel();
  _recalculateCharactersEmbeddingLevels();

  _removeBidiMarkers();
}