width static method

double width(
  1. double value
)

Implementation

static double width(double value) {
  final baseWidth = _getBaseWidth();
  return (value / baseWidth) * screenWidth;
}