height method

double height()

return screen height

Implementation

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