h method

double h(
  1. BuildContext context
)

Returns this% of screen height.

Example:

30.h(context); // 30% of screen height

Implementation

double h(BuildContext context) =>
    (this / 100) * MediaQuery.of(context).size.height;