getScreenWidth method
Implementation
double getScreenWidth() {
double widthCalc = useShortestSide
? (windowWidth < windowHeight ? windowWidth : windowHeight)
: windowWidth;
return widthCalc;
}
double getScreenWidth() {
double widthCalc = useShortestSide
? (windowWidth < windowHeight ? windowWidth : windowHeight)
: windowWidth;
return widthCalc;
}