setWidth method

double setWidth(
  1. num width
)

根据UI设计的设备宽度适配

Implementation

double setWidth(num width) => width * scaleWidth;