getScreenTitleSize static method
- double currentScreenWidth
Returns the font size for the screen title, adjusted according to the screen width.
The size is interpolated between 21 and 31, depending on the screen width.
currentScreenWidth: The current width of the screen.
Returns the adjusted screen title size.
Implementation
static double getScreenTitleSize(double currentScreenWidth) {
return interpolateBestDouble(
InterpolationDoubleValues(min: 21, max: 31), currentScreenWidth);
}