toFlowLayout method

RenderFlowLayout toFlowLayout()

Convert to RenderFlowLayout

Implementation

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