removeShorthandOverflow static method

void removeShorthandOverflow(
  1. CSSStyleDeclaration style, [
  2. bool? isImportant
])

Implementation

static void removeShorthandOverflow(CSSStyleDeclaration style, [bool? isImportant]) {
  if (style.contains(OVERFLOW_X)) style.removeProperty(OVERFLOW_X, isImportant);
  if (style.contains(OVERFLOW_Y)) style.removeProperty(OVERFLOW_Y, isImportant);
}