scaleFactor static method

double scaleFactor(
  1. double baseWidth,
  2. BuildContext context
)

Implementation

static double scaleFactor(double baseWidth,BuildContext context) => screenSize(context).width / baseWidth;