getUserSettingFlagHeight static method
- double currentScreenWidth
Returns the height for the user setting flag, adjusted according to the screen width.
The height is interpolated between 15 and 23, depending on the screen width.
currentScreenWidth: The current width of the screen.
Returns the adjusted height for the user setting flag.
Implementation
static double getUserSettingFlagHeight(double currentScreenWidth) {
return interpolateBestDouble(
InterpolationDoubleValues(min: 15, max: 23), currentScreenWidth);
}