screenWidth property

double get screenWidth

当前设备宽度

Implementation

double get screenWidth => MediaQuery.of(context).size.width;