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(remainingPaintExtent>=0.0,'The "remainingPaintExtent" is negative.');
verify(remainingCacheExtent>=0.0,'The "remainingCacheExtent" is negative.');
verify(cacheOrigin<=0.0,'The "cacheOrigin" is positive.');