getPixelSizeWidth method Null safety

double getPixelSizeWidth(
  1. double d,
  2. BuildContext context
)

Its the same as getPixelSize but for the width.

Implementation

static double getPixelSizeWidth(double d, BuildContext context){
  return d * getScreenSize(context).width;
}