w static method

double w(
  1. BuildContext context
)

It tells you the exact value of the width of the screen

Implementation

static double w(BuildContext context) {
  return MediaQuery.of(context).size.width;
}