font static method
Font scaling — tuned for readability
Implementation
static double font(double inputFont) {
double fScale = _scale;
if (SizeManager.isTablet) fScale *= 1.10;
if (SizeManager.isDesktop) fScale *= 1.18;
final aspect = screenHeight / screenWidth;
if (aspect > 2.0) fScale *= 0.95;
return inputFont * fScale;
}