distanceToBaseline method
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:
- RenderBox.computeDistanceToActualBaseline, which has usage examples.
Implementation
double? distanceToBaseline(TextBaseline baseline) => null;