wh 传入width/height 返回较小的适配
wh
@override double setAutomatic(num wh) { // TODO: implement setAutomatic return wh * min(screenWidth! / this.width, screenHeight! / this.height); }