isNegativeMarginChangeHSize property
Implementation
@override
bool get isNegativeMarginChangeHSize {
double? marginLeft = renderStyle.marginLeft.computedValue;
double? marginRight = renderStyle.marginRight.computedValue;
return renderStyle.width.isAuto && marginLeft < 0 && marginRight < 0;
}