effectiveOverflowY property

  1. @override
CSSOverflowType get effectiveOverflowY
override

Implementation

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