twoQuarters static method

double twoQuarters(
  1. BuildContext context
)

Defines a width of 50% of the screen size

Implementation

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