viewHeight static method

double viewHeight(
  1. num input
)

caculates the view height for the given input

Implementation

static double viewHeight(num input) => input * (_screenHeight / 100);