w static method

double w(
  1. double base,
  2. bool mw
)

Implementation

static double w(double base, bool mw) {
  final m = _m;
  if (mw && m.isInMultiWindowMode) return base;
  return base * m.screenWidthFactor;
}