scaleHeight property

double get scaleHeight

The ratio of actual height to UI design

Implementation

double get scaleHeight =>
    !_enableScaleWH() ? 1 : (_splitScreenMode ? max(screenHeight, 700) : screenHeight) /
    _uiSize.height;