remove method

  1. @override
void remove(
  1. RenderBox child
)
override

Remove this child from the child list.

Requires the child to be present in the child list.

Implementation

@override
void remove(RenderBox child) {
  if (child == _renderViewport) {
    super.remove(child);
  } else if (child.parent == _renderSliverList) {
    _renderSliverList?.remove(child);
  }
}