CustomSingleChildLayout constructor

const CustomSingleChildLayout({Key key, @required SingleChildLayoutDelegate delegate, Widget child })

Creates a custom single child layout.

The delegate argument must not be null.

Implementation

const CustomSingleChildLayout({
  Key key,
  @required this.delegate,
  Widget child,
}) : assert(delegate != null),
     super(key: key, child: child);