heightInPercent function
Implementation
double heightInPercent(double percent, BuildContext context) {
final toDouble = percent / 100;
return MediaQuery.of(context).size.height * toDouble;
}
double heightInPercent(double percent, BuildContext context) {
final toDouble = percent / 100;
return MediaQuery.of(context).size.height * toDouble;
}