markNeedsLayoutForSizedByParentChange method

void markNeedsLayoutForSizedByParentChange()

Mark this render object's layout information as dirty (like markNeedsLayout), and additionally also handle any necessary work to handle the case where sizedByParent has changed value.

This should be called whenever sizedByParent might have changed.

Only call this if parent is not null.

Implementation

void markNeedsLayoutForSizedByParentChange() {
  markNeedsLayout();
  markParentNeedsLayout();
}