Flow constructor
Creates a flow layout.
Wraps each of the given children in a RepaintBoundary to avoid repainting the children when the flow repaints.
The delegate
argument must not be null.
Implementation
Flow({
Key key,
@required this.delegate,
List<Widget> children = const <Widget>[],
}) : assert(delegate != null),
super(key: key, children: RepaintBoundary.wrapAll(children));