layoutChild method
layoutChild API.
Implementation
PwSize layoutChild(Object id, BoxConstraints constraints) {
final Widget? child = _children[id];
if (child == null) {
return PwSize.zero;
}
final PwBox box = child.layout(_context, constraints);
boxes[id] = box;
offsets.putIfAbsent(id, () => PwOffset.zero);
return box.size;
}