markTextStyleNeedsLayout method

void markTextStyleNeedsLayout()

Implementation

void markTextStyleNeedsLayout() {
  _hasPendingTextLayoutUpdate = true;
  _markAncestorSubtreeIntrinsicMeasurementUpdate();
  _markAncestorInlineCollectionNeedsUpdate();
  if (_paintsSelf) {
    _markLayoutIfNeeded(this);
    markNeedsPaint();
  } else {
    _markLayoutIfNeeded(parent);
  }
  _cachedSpan = null;
  _textPainter = null;
}