Flow.unwrapped constructor Null safety
- {Key? key,
- required FlowDelegate delegate,
- List<
Widget> children = const <Widget>[], - 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);