screenWidth static method

double screenWidth(
  1. BuildContext context
)

Implementation

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