effectiveOverflowX property

  1. @override
CSSOverflowType get effectiveOverflowX
override

Implementation

@override
CSSOverflowType get effectiveOverflowX {
  if (overflowX == CSSOverflowType.visible && overflowY != CSSOverflowType.visible) {
    return CSSOverflowType.auto;
  }
  if (overflowX == CSSOverflowType.clip && overflowY != CSSOverflowType.clip) {
    return CSSOverflowType.hidden;
  }
  return overflowX;
}