responsiveWidth static method

double responsiveWidth(
  1. BuildContext context,
  2. double width
)

Implementation

static double responsiveWidth(BuildContext context, double width) {
  return (width / baseWidth) * screenWidth(context);
}