screenWidth top-level property Null safety

double screenWidth
read / write

当前屏幕宽度 dp

Implementation

double screenWidth = LayoutTool().screenWidth;