getDryLayout method
Computes the size this box would have under the given constraints without performing actual layout.
This is used for intrinsic sizing calculations.
Implementation
LayoutSize getDryLayout(covariant LayoutConstraints constraints) {
final layoutHandle = boxLayout.createLayoutHandle(this);
return layoutHandle.performLayout(constraints, true);
}