INNER CODE UNIT · Dart
contentWidth
hackware1993/Flutter_ConstraintLayout · lib/src/core.dart:2547
double contentWidth = -double.infinity;
double contentHeight = -double.infinity;
for (int j = 0; j < i; j++) {
ConstrainedNode sizeConfirmedChild = layoutOrderList[j];
if (sizeConfirmedChild.laidOutLater) {
BoxConstraints childConstraints =
calculateChildSize(sizeConfirmedChild, false);
/// Helper widgets may have no RenderObject
if (sizeConfirmedChild.renderBox != null) {
/// Due to the design of the Flutter framework, even if a child element is gone, it still has to be laid out
/// I don't understand why the official design is this way
sizeConfirmedChild.renderBox!.layout(
childConstraints,
parentUsesSize: true,
);
}