resolveGap static method
Implementation
static CSSLengthValue resolveGap(String gap, {RenderStyle? renderStyle, String? propertyName}) {
if (gap == 'normal') {
return CSSLengthValue.normal;
}
// Pass propertyName so CSS-wide keywords (e.g. `inherit`) and percentages
// resolve with the correct context (row-gap vs column-gap).
return CSSLength.parseLength(gap, renderStyle, propertyName);
}