toFlowLayout method
Convert to RenderFlowLayout
Implementation
RenderFlowLayout toFlowLayout() {
RenderFlowLayout flowLayout = RenderFlowLayout(
renderStyle: renderStyle,
);
copyWith(flowLayout);
flowLayout.addAll(detachChildren());
return flowLayout;
}