widthInPercent function
This constant function to distribute reuse function
Implementation
double widthInPercent(double percent, BuildContext context) {
final toDouble = percent / 100;
return MediaQuery.of(context).size.width * toDouble;
}
This constant function to distribute reuse function
double widthInPercent(double percent, BuildContext context) {
final toDouble = percent / 100;
return MediaQuery.of(context).size.width * toDouble;
}