CustomMultiChildLayout constructor Null safety

CustomMultiChildLayout(
  1. {Key? key,
  2. required MultiChildLayoutDelegate delegate,
  3. List<Widget> children = const <Widget>[]}
)

Creates a custom multi-child layout.

The delegate argument must not be null.

Implementation

CustomMultiChildLayout({
  super.key,
  required this.delegate,
  super.children,
}) : assert(delegate != null);