getWidth static method

double getWidth(
  1. double sizePx
)

Implementation

static double getWidth(double sizePx) => sizePx.w;