twoFifths static method

double twoFifths(
  1. BuildContext context
)

Defines an height of 40% of the screen size

Implementation

static double twoFifths(BuildContext context) {
  return (MediaQuery.of(context).size.height * 2) / 5;
}