isValidBackgroundSizeValue static method
Implementation
static bool isValidBackgroundSizeValue(String value) {
return value == AUTO ||
value == CONTAIN ||
value == COVER ||
value == FIT_WIDTH ||
value == FIT_HEIGTH ||
value == SCALE_DOWN ||
value == FILL ||
CSSLength.isNonNegativeLength(value) ||
CSSPercentage.isNonNegativePercentage(value);
}