computedValue property
Implementation
@override
double get computedValue {
dynamic text = value.computedValue('');
if (text == null) return 0;
if (CSSLength.isLength(text)) {
return CSSLength.parseLength(text, _renderStyle).computedValue;
}
double? num = double.tryParse(text);
if (num != null) {
return num;
}
return 0;
}