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