text property

InlineSpan text

The text to display.

Implementation

InlineSpan get text => _textPainter.text!;
void text=(InlineSpan value)

Implementation

set text(InlineSpan value) {
  switch (_textPainter.text!.compareTo(value)) {
    case RenderComparison.identical:
      return;
    case RenderComparison.metadata:
      _textPainter.text = value;
      _cachedCombinedSemanticsInfos = null;
      markNeedsSemanticsUpdate();
    case RenderComparison.paint:
      _textPainter.text = value;
      _cachedAttributedLabels = null;
      _cachedCombinedSemanticsInfos = null;
      markNeedsPaint();
      markNeedsSemanticsUpdate();
    case RenderComparison.layout:
      _textPainter.text = value;
      _overflowShader = null;
      _cachedAttributedLabels = null;
      _cachedCombinedSemanticsInfos = null;
      markNeedsLayout();
      _removeSelectionRegistrarSubscription();
      _disposeSelectableFragments();
      _updateSelectionRegistrarSubscription();
  }
}