childPaintExtent method
Implementation
@override
// ignore: missing_return
double childPaintExtent(RenderObject child) {
if (child == _header) {
return _headerExtent;
} else if (child == _body) {
return _body.geometry!.paintExtent;
}
throw ArgumentError.value(
child,
'child',
'must be either _header or _body',
);
}