screenWidthPercent method
Implementation
double screenWidthPercent({required int percent}) {
_checkPercent(percent: percent);
var rawWidth = MediaQuery.of(context).size.width;
return _calculatePercent(initialVal: rawWidth, percent: percent);
}