@@ -421,6 +447,8 @@ class SliverConstraints extends Constraints {
...
@@ -421,6 +447,8 @@ class SliverConstraints extends Constraints {
verify(viewportMainAxisExtent!=null,'The "viewportMainAxisExtent" is null.');
verify(viewportMainAxisExtent!=null,'The "viewportMainAxisExtent" is null.');
verify(scrollOffset>=0.0,'The "scrollOffset" is negative.');
verify(scrollOffset>=0.0,'The "scrollOffset" is negative.');
verify(crossAxisExtent>=0.0,'The "crossAxisExtent" is negative.');
verify(crossAxisExtent>=0.0,'The "crossAxisExtent" is negative.');
verify(crossAxisDirection!=null,'The "crossAxisDirection" is null.');
verify(axisDirectionToAxis(axisDirection)!=axisDirectionToAxis(crossAxisDirection),'The "axisDirection" and the "crossAxisDirection" are along the same axis.');
verify(viewportMainAxisExtent>=0.0,'The "viewportMainAxisExtent" is negative.');
verify(viewportMainAxisExtent>=0.0,'The "viewportMainAxisExtent" is negative.');
verify(remainingPaintExtent>=0.0,'The "remainingPaintExtent" is negative.');
verify(remainingPaintExtent>=0.0,'The "remainingPaintExtent" is negative.');
verify(isNormalized,'The constraints are not normalized.');// should be redundant with earlier checks
verify(isNormalized,'The constraints are not normalized.');// should be redundant with earlier checks
...
@@ -437,18 +465,28 @@ class SliverConstraints extends Constraints {
...
@@ -437,18 +465,28 @@ class SliverConstraints extends Constraints {