Flow.unwrapped constructor Null safety

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

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({
  super.key,
  required this.delegate,
  super.children,
  this.clipBehavior = Clip.hardEdge,
}) : assert(delegate != null),
     assert(clipBehavior != null);