markNeedsTextLayout method Null safety

  1. @protected
void markNeedsTextLayout()
protected">@protected

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();
}