markSelfAndParentBoxModelNeedsLayout method

void markSelfAndParentBoxModelNeedsLayout()
inherited

Implementation

@pragma('vm:prefer-inline')
void markSelfAndParentBoxModelNeedsLayout() {
  everyAttachedWidgetRenderBox((element, renderObject) {
    renderObject.markNeedsLayout();

    if (renderObject.parent is RenderBoxModel) {
      renderObject.parent!.markNeedsLayout();
    }

    return true;
  });
}