markNeedsTextLayout method Null safety
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();
}