operator - method
Returns the difference between the external and the current instance ofRenderData, as an instance of the ComparisonDiff class.
Implementation
ComparisonDiff operator -(RenderData other) => ComparisonDiff(
yTop: yTop - other.yTop,
yBottom: yBottom - other.yBottom,
yCenter: yCenter - other.yCenter,
xLeft: xLeft - other.xLeft,
xRight: xRight - other.xRight,
xCenter: xCenter - other.xCenter,
diffTopToBottom: yTop - other.yBottom,
diffBottomToTop: yBottom - other.yTop,
diffLeftToRight: xLeft - other.xRight,
diffRightToLeft: xRight - other.xLeft,
width: width - other.width,
height: height - other.height,
);