fourFifths static method

double fourFifths(
  1. BuildContext context
)

Defines an height of 80% of the screen size

Implementation

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