dryLastBaseline method

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

An inline-block's baseline is its last line's, and a box with no line at all stands on its bottom edge either way (CSS 2.1 10.8.1) -- so the last-baseline question reaches the same answer through the same fallback.

Implementation

@override
double? dryLastBaseline(BoxConstraints constraints, TextBaseline baseline) =>
    _dry(constraints, baseline, dryLastBaselineOf);