oneHalf static method
Defines an height of 50% of the screen size
Implementation
static double oneHalf(BuildContext context) {
return MediaQuery.of(context).size.height / 2;
}
Defines an height of 50% of the screen size
static double oneHalf(BuildContext context) {
return MediaQuery.of(context).size.height / 2;
}