setWidth method

double setWidth(
  1. num width
)

Scales a width value based on the design size.

Implementation

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