Skip to content

Commit ee35295

Browse files
committed
fix a margin bug
1 parent 4967a4a commit ee35295

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/src/constraint_layout.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,6 +1485,9 @@ class Constraint extends ConstraintDefine {
14851485
bottom = centerBottomRightTo!.bottom;
14861486
}
14871487

1488+
EdgeInsets margin = this.margin;
1489+
EdgeInsets goneMargin = this.goneMargin;
1490+
14881491
if (left != null) {
14891492
if (left._margin != null) {
14901493
margin = margin.add(EdgeInsets.only(

0 commit comments

Comments
 (0)