text property

InlineSpan text

The text to display

Implementation

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

Implementation

set text(InlineSpan value) {
  assert(value != null);
  switch (_textPainter.text.compareTo(value)) {
    case RenderComparison.identical:
    case RenderComparison.metadata:
      return;
    case RenderComparison.paint:
      _textPainter.text = value;
      _extractPlaceholderSpans(value);
      markNeedsPaint();
      markNeedsSemanticsUpdate();
      break;
    case RenderComparison.layout:
      _textPainter.text = value;
      _overflowShader = null;
      _extractPlaceholderSpans(value);
      markNeedsLayout();
      break;
  }
}