We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab53a1 commit c62ebc3Copy full SHA for c62ebc3
lib/src/api/models/node_box.dart
@@ -568,6 +568,8 @@ class InnerNodeBox extends NodeBox {
568
assert(y.isFinite, 'y is not finite. Value: $y');
569
assert(width.isFinite, 'width is not finite. Value: $width');
570
assert(height.isFinite, 'height is not finite. Value: $height');
571
+ assert(width.isNegative == false, 'width is negative. Value: $width');
572
+ assert(height.isNegative == false, 'height is negative. Value: $height');
573
assert(edgeInsets.l.isFinite,
574
'edgeInsets.l is not finite. Value: ${edgeInsets.l}');
575
assert(edgeInsets.t.isFinite,
0 commit comments