CustomSingleChildLayout constructor

const CustomSingleChildLayout(
  1. {Key key,
  2. @required SingleChildLayoutDelegate delegate,
  3. 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);