isValidBackgroundPositionValue static method

bool isValidBackgroundPositionValue(
  1. String value
)

Implementation

static bool isValidBackgroundPositionValue(String value) {
  return value == CENTER ||
      value == LEFT ||
      value == RIGHT ||
      value == TOP ||
      value == BOTTOM ||
      CSSLength.isLength(value) ||
      CSSPercentage.isPercentage(value);
}