expressionToHeight static method
Implementation
static Height? expressionToHeight(css.Expression value) {
if ((value is css.LiteralTerm) && value.text == 'auto') {
return Height.auto();
} else {
final computedValue = expressionToLengthOrPercent(value);
return Height(computedValue.value, computedValue.unit);
}
}