sixTwelfths static method

double sixTwelfths(
  1. BuildContext context
)

Defines an height of 50% of the screen size

Implementation

static double sixTwelfths(BuildContext context) {
  return (MediaQuery.of(context).size.height * 6) / 12;
}