responsiveHeight static method

double responsiveHeight(
  1. BuildContext context,
  2. double height
)

Implementation

static double responsiveHeight(BuildContext context, double height) {
  return (height / baseHeight) * screenHeight(context);
}