getPropWidth function
Implementation
double getPropWidth(double inputWidth) {
double screenWidth = SizeConfig.screenWidth ?? 0;
// 375 is the layout width that designer use
double result = (inputWidth / 375.0) * screenWidth;
// log('getPropWidth : ' +
// inputWidth.toString() +
// ' : ' +
// result.toStringAsFixed(1));
return result;
}