w method

dynamic w(
  1. num n
)

Implementation

w(num n) {
  if (disabled) return n;
  return n * (actual.width / design.width);
}