Flow.unwrapped constructor

Flow.unwrapped({Key key, @required FlowDelegate delegate, List<Widget> children: const [] })

Creates a flow layout.

Does not wrap the given children in repaint boundaries, unlike the default constructor. Useful when the child is trivial to paint or already contains a repaint boundary.

The delegate argument must not be null.

Implementation

Flow.unwrapped({
  Key key,
  @required this.delegate,
  List<Widget> children = const <Widget>[],
}) : assert(delegate != null),
     super(key: key, children: children);