Get percentage-based height.
static double heightPercent(double screenHeight, double percent) => screenHeight * (percent / 100);