computeDistanceToBaseline method

double computeDistanceToBaseline()

Implementation

double computeDistanceToBaseline() {
  return parent is RenderFlowLayout
      ? _renderParagraph.computeDistanceToLastLineBaseline()
      : _renderParagraph.computeDistanceToFirstLineBaseline();
}