fourFifths static method

double fourFifths(
  1. BuildContext context
)

Defines a width of 80% of the screen size

Implementation

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