scaleWidth property
double
get
scaleWidth
实际尺寸与UI设计的比例 The ratio of actual width to UI design
Implementation
double get scaleWidth => !_enableScaleWH() ? 1 : screenWidth / _uiSize.width;
实际尺寸与UI设计的比例 The ratio of actual width to UI design
double get scaleWidth => !_enableScaleWH() ? 1 : screenWidth / _uiSize.width;