isAspectRatioEnabled static method

bool isAspectRatioEnabled()

获取当前窗口比例调整功能的状态

Implementation

static bool isAspectRatioEnabled() {
  return _globalEnableAspectRatio.value;
}