markNeedsTextLayout method

  1. @protected
void markNeedsTextLayout()

Marks the render object as needing to be laid out again and have its text metrics recomputed.

Implies markNeedsLayout.

Implementation

@protected
void markNeedsTextLayout() {
  _textLayoutLastMaxWidth = null;
  _textLayoutLastMinWidth = null;
  markNeedsLayout();
}