percentageSpace method
Returns the space calculated as a percentage of the detected pixel size.
Example:
double result = sizeConfig.percentageSpace(50);
Implementation
double percentageSpace(double percentage) =>
percentageSize(_detectedPixel, percentage);