getScreenHeight method

double getScreenHeight()

获取屏幕高度

Implementation

double getScreenHeight() => MediaQuery.of(this).size.height;