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