setWidth method

double setWidth(
  1. num width
)

Set width based on design draft

width - Width value from design draft Returns proportional width for current device

Implementation

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