Flow.unwrapped constructor

Flow.unwrapped(
  1. {Key key,
  2. @required FlowDelegate delegate,
  3. 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);