oneFifth static method

double oneFifth(
  1. BuildContext context
)

Defines a width of 20% of the screen size

Implementation

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