setPixelMatching function

void setPixelMatching(
  1. bool? isPixelMatching
)

TODO 宽高比的问题,用来处理平板,未开发完

Implementation

void setPixelMatching(bool? isPixelMatching) {
  pixelMatching = isPixelMatching ??
      ScreenUtil().screenHeight / ScreenUtil().screenWidth >= 1.5;
//  LogUtil.printLog("-----------" + pixelMatching.toString());
}