isValidGapValue static method
Implementation
static bool isValidGapValue(String val) {
if (val == 'normal') return true;
if (CSSFunction.isFunction(val)) return true;
// Gap values are <length-percentage> (non-negative) or `normal`.
return CSSLength.isNonNegativeLength(val) || CSSPercentage.isNonNegativePercentage(val);
}