ascent property

  1. @override
double get ascent
override

Spans the distance between the baseline and the top of the glyph that reaches farthest from the baseline

Implementation

@override
double get ascent => font.ascent.toDouble() / font.unitsPerEm;