roomFor method
The height the boxes inside take their shares of, where this is a
room -- null where it is not, or was offered none -- and dependant
is laid out again when it changes.
Implementation
double? roomFor(RenderBox dependant) {
if (!_room) return null;
_dependants.add(dependant);
final h = _offered;
return h != null && h.isFinite ? h : null;
}