computeDistanceToActualBaseline method
A table stands on the baseline of the first row that has one (CSS 2.1 10.8.1).
Implementation
@override
double? computeDistanceToActualBaseline(TextBaseline baseline) {
for (final cell in _cells) {
if (cell.row != 0) continue;
final b = cell.getDistanceToActualBaseline(baseline);
if (b != null) return b + (cell.parentData! as TableBoxParentData).offset.dy;
}
return null;
}