getHeight method
Get screen height, can be resize with size between 0 and 1.
Implementation
double getHeight(BuildContext context, {double size = 1}) {
size = _validateSize(size);
return MediaQuery.of(context).size.height * size;
}
Get screen height, can be resize with size between 0 and 1.
double getHeight(BuildContext context, {double size = 1}) {
size = _validateSize(size);
return MediaQuery.of(context).size.height * size;
}