setWidth method

double setWidth(
  1. num width
)

宽度方向适配

Implementation

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