CustomMultiChildLayout constructor

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

Creates a custom multi-child layout.

The delegate argument must not be null.

Implementation

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