screenHeight method

double screenHeight([
  1. double percent = 1
])

Implementation

double screenHeight([double percent = 1]) =>
    MediaQuery.of(this).size.height * percent;