percentageHeight method
Returns the height calculated as a percentage of the total height.
Example:
double result = sizeConfig.percentageHeight(50);
Implementation
double percentageHeight(double percentage) =>
percentageSize(height, percentage);