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;
      _canComputeIntrinsicsCached = null;
      _cachedCombinedSemanticsInfos = null;
      markNeedsPaint();
      markNeedsSemanticsUpdate();
    case RenderComparison.layout:
      _textPainter.text = value;
      _overflowShader = null;
      _cachedAttributedLabels = null;
      _cachedCombinedSemanticsInfos = null;
      _canComputeIntrinsicsCached = null;
      markNeedsLayout();
      _removeSelectionRegistrarSubscription();
      _disposeSelectableFragments();
      _updateSelectionRegistrarSubscription();
  }
}