RenderFlow constructor

RenderFlow({List<RenderBox> children, @required FlowDelegate delegate })

Creates a render object for a flow layout.

For optimal performance, consider using children that return true from isRepaintBoundary.

Implementation

RenderFlow({
  List<RenderBox> children,
  @required FlowDelegate delegate
}) : assert(delegate != null),
     _delegate = delegate {
  addAll(children);
}