Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
hackware1993 committed May 17, 2022
1 parent a30b386 commit 8791b78
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions lib/src/core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2572,44 +2572,6 @@ class _ConstraintRenderBox extends RenderBox
element.laidOutLater = true;
continue;
}

if ((element.width < 0 && element.width != wrapContent) ||
(element.height < 0 && element.height != wrapContent)) {
if (element.leftConstraint != null) {
if (element.leftConstraint!.laidOutLater) {
element.laidOutLater = true;
continue;
}
}

if (element.topConstraint != null) {
if (element.topConstraint!.laidOutLater) {
element.laidOutLater = true;
continue;
}
}

if (element.rightConstraint != null) {
if (element.rightConstraint!.laidOutLater) {
element.laidOutLater = true;
continue;
}
}

if (element.bottomConstraint != null) {
if (element.bottomConstraint!.laidOutLater) {
element.laidOutLater = true;
continue;
}
}

if (element.baselineConstraint != null) {
if (element.baselineConstraint!.laidOutLater) {
element.laidOutLater = true;
continue;
}
}
}
}

BoxConstraints childConstraints =
Expand Down

0 comments on commit 8791b78

Please sign in to comment.