customSingleChildLayout method
A widget that defers the layout of its single child to a delegate.
Implementation
Widget customSingleChildLayout({
required SingleChildLayoutDelegate delegate,
Key? key,
}) {
return CustomSingleChildLayout(
key: key,
delegate: delegate,
child: this,
);
}