sizeScale property
double
get
sizeScale
屏幕尺寸比例
Implementation
double get sizeScale {
if (_designWidth <= 0) {
return 1;
}
return screenWidth / _designWidth;
}
屏幕尺寸比例
double get sizeScale {
if (_designWidth <= 0) {
return 1;
}
return screenWidth / _designWidth;
}