fontSize static method
Resolve a glyph size for a renderer that does not use Text/RichText. Do not apply this to Text's style: Text already uses the ambient scaler.
Implementation
static double fontSize(BuildContext context, double unscaledSize) =>
MediaQuery.textScalerOf(context).scale(unscaledSize);