height static method

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

this is for the height

Implementation

static double height(double p, BuildContext context) {
  return MediaQuery.of(context).size.height * (p / 100);
}