width property
double
width
Current width of the screen.
Implementation
double get width => MediaQuery.of(context).size.width;
Current width of the screen.
double get width => MediaQuery.of(context).size.width;