computeDistanceToActualBaseline method

  1. @override
double? computeDistanceToActualBaseline(
  1. TextBaseline baseline
)
override

The table's: the baseline of its first row, where the captions over it put the table box.

Implementation

@override
double? computeDistanceToActualBaseline(TextBaseline baseline) {
  final table = _table;
  final b = table.getDistanceToActualBaseline(baseline);
  return b == null ? null : b + (table.parentData! as TableCaptionsParentData).offset.dy;
}