distanceToBaseline method

double? distanceToBaseline(
  1. TextBaseline baseline
)

Override to return the distance from the y-coordinate of the position of the box to the y-coordinate of the first given baseline in the box's contents, if any, or null otherwise.

See also:

Implementation

double? distanceToBaseline(TextBaseline baseline) => null;