fracHeight method Null safety

double fracHeight(
  1. BuildContext context,
  2. double divisor
)

Retorna fração da altura total

Implementation

static double fracHeight(BuildContext context, double divisor) {
  return MediaQuery.of(context).size.height / divisor;
}