deviceWidth property

double get deviceWidth

手机屏幕的宽

Implementation

double get deviceWidth => mediaQuery.size.width;