screenWidth function
screenWidth provides the current screen width.
Implementation
double screenWidth(BuildContext context) => MediaQuery.of(context).size.width;
screenWidth provides the current screen width.
double screenWidth(BuildContext context) => MediaQuery.of(context).size.width;