collectGarbageItem method
Implementation
@protected
void collectGarbageItem(RenderBox? child) {
assert(_debugAssertChildListLocked());
invokeLayoutCallback<SliverConstraints>((SliverConstraints constraints) {
if(child != null){
_destroyOrCacheChild(child);
}
_removeUnneededKeepAliveChildren();
});
}