computeDistanceToActualBaseline method
- TextBaseline baseline
Returns the distance from the top of the text to the first baseline of the given type.
Valid only after layout has been called.
Implementation
double computeDistanceToActualBaseline(TextBaseline baseline) {
assert(_debugAssertTextLayoutIsValid);
return _layoutCache!.layout.getDistanceToBaseline(baseline);
}