resolveLength static method
Implementation
static CSSLengthValue? resolveLength(String text, RenderStyle? renderStyle, String propertyName) {
if (text.isEmpty) {
// Empty string means delete value.
return null;
} else {
return parseLength(text, renderStyle, propertyName);
}
}