w static method

double w(
  1. dynamic width
)

Implementation

static double w(dynamic width) {
  double screenWidth = AdaptiveUI.screenWidth;

  return (width / designWidth) * screenWidth;
}