sixTwelfths static method

double sixTwelfths(
  1. BuildContext context
)

Defines a width of 50% of the screen size

Implementation

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