screenWidth static method
Returns the width of the current screen.
Implementation
static double screenWidth(BuildContext context) =>
MediaQuery.of(context).size.width;
Returns the width of the current screen.
static double screenWidth(BuildContext context) =>
MediaQuery.of(context).size.width;