oneFifth static method

double oneFifth(
  1. BuildContext context
)

Defines an height of 20% of the screen size

Implementation

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