dryLastBaseline method

  1. @override
double? dryLastBaseline(
  1. BoxConstraints constraints,
  2. TextBaseline baseline
)
override

This box's last baseline, from its top, at constraints.

Implementation

@override
double? dryLastBaseline(BoxConstraints constraints, TextBaseline baseline) {
  final c = child;
  if (c == null) return null;
  final b = dryLastBaselineOf(c, _forChild(constraints), baseline);
  return b == null ? null : b + _at(constraints.maxWidth).top;
}