statusBarHeight top-level property Null safety

double statusBarHeight
read / write

状态栏高度 dp 刘海屏会更高

Implementation

double statusBarHeight =
    LayoutTool().statusBarHeight != null ? LayoutTool().statusBarHeight : 24.0;