deviceWidth top-level property

double deviceWidth

手机屏幕的宽

Implementation

double get deviceWidth => mediaQuery.size.width;