RenderFlow constructor Null safety
- {List<
RenderBox> ? children, - required FlowDelegate delegate,
- 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,
}) : assert(delegate != null),
assert(clipBehavior != null),
_delegate = delegate,
_clipBehavior = clipBehavior {
addAll(children);
}