Flow constructor

Flow({
  1. Key? key,
  2. required FlowDelegate delegate,
  3. List<Widget> children = const <Widget>[],
  4. Clip clipBehavior = Clip.hardEdge,
})

Creates a flow layout.

Wraps each of the given children in a RepaintBoundary to avoid repainting the children when the flow repaints.

Implementation

Flow({
  super.key,
  required this.delegate,
  List<Widget> children = const <Widget>[],
  this.clipBehavior = Clip.hardEdge,
}) : super(children: RepaintBoundary.wrapAll(children));