fracWidth method Null safety

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

Retorna fração da largura total

Implementation

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