sh static method

double sh(
  1. num height
)

Calculates the height depending on the device's screen size

Eg: 20.sh -> will take 20% of the safe area height

Implementation

static double sh(num height) => height.sh;