screenHeight property
double
get
screenHeight
当前设备高度 dp The vertical extent of this size. dp
Implementation
double get screenHeight =>
_context != null ? MediaQuery.of(_context!).size.height : _screenHeight;