RenderFlow constructor

RenderFlow({
  1. List<RenderBox>? children,
  2. required FlowDelegate delegate,
  3. Clip clipBehavior = Clip.hardEdge,
})

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,
  Clip clipBehavior = Clip.hardEdge,
}) : _delegate = delegate,
     _clipBehavior = clipBehavior {
  addAll(children);
}