Skip to content

Commit b70699e

Browse files
author
fbchen
committed
check barrier referencedIds
1 parent 3f1de52 commit b70699e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/constrait_layout/constraint_layout.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,9 @@ class _ConstraintRenderBox extends RenderBox
11301130
if (childParentData.baseline != null) {
11311131
constraintsIdSet.add(childParentData.baseline!.id!);
11321132
}
1133+
if (child is _BarrierRenderBox) {
1134+
constraintsIdSet.addAll(childParentData._referencedIds!);
1135+
}
11331136
child = childParentData.nextSibling;
11341137
}
11351138
Set<ConstraintId> illegalIdSet = constraintsIdSet.difference(idSet);

0 commit comments

Comments
 (0)