getScreenWidth static method
Function to get the current width of the screen.
Implementation
static double getScreenWidth({required BuildContext context}) {
return MediaQuery.of(context).size.width;
}
Function to get the current width of the screen.
static double getScreenWidth({required BuildContext context}) {
return MediaQuery.of(context).size.width;
}