screenWidth property
double
get
screenWidth
当前设备宽度 dp The horizontal extent of this size.
Implementation
double get screenWidth =>
_context != null ? MediaQuery.of(_context!).size.width : _screenWidth;