font static method
Calculates a scaled font size, tuned for readability across devices.
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;
}