Given a text String, returns the height of that text.
text
@override double measureTextHeight(String text) { return toTextPainter(text).height; }