h method

double h(
  1. double value
)

Scale value proportionally to design reference height.

Implementation

double h(double value) => value * (screenHeight / _config.designSize.height);