removeChild abstract method

void removeChild(
  1. RenderBox child
)

Remove the given child from the child list.

Called by RenderSliverMultiBoxAdaptor.collectGarbage, which itself is called from RenderSliverMultiBoxAdaptor's performLayout.

The index of the given child can be obtained using the RenderSliverMultiBoxAdaptor.indexOf method, which reads it from the SliverMultiBoxAdaptorParentData.index field of the child's RenderObject.parentData.

Implementation

void removeChild(RenderBox child);