resolveSpacing static method

CSSLengthValue resolveSpacing(
  1. String spacing,
  2. RenderStyle renderStyle,
  3. String property
)

Implementation

static CSSLengthValue resolveSpacing(String spacing, RenderStyle renderStyle, String property) {
  if (spacing == NORMAL) return CSSLengthValue.zero;

  return CSSLength.parseLength(spacing, renderStyle, property);
}