resolveOverflowType static method

CSSOverflowType resolveOverflowType(
  1. String definition
)

Implementation

static CSSOverflowType resolveOverflowType(String definition) {
  switch (definition) {
    case HIDDEN:
      return CSSOverflowType.hidden;
    case SCROLL:
      return CSSOverflowType.scroll;
    case AUTO:
      return CSSOverflowType.auto;
    case CLIP:
      return CSSOverflowType.clip;
    case VISIBLE:
    default:
      return CSSOverflowType.visible;
  }
}