toSliverLayout method

Implementation

RenderSliverListLayout toSliverLayout(RenderSliverElementChildManager manager, ScrollListener? onScroll) {
  RenderSliverListLayout sliverListLayout = RenderSliverListLayout(
      renderStyle: renderStyle, manager: manager, onScroll: onScroll, currentView: renderStyle.currentFlutterView);
  manager.setupSliverListLayout(sliverListLayout);
  copyWith(sliverListLayout);
  sliverListLayout.addAll(detachChildren());
  return sliverListLayout;
}