h property

double get h

Calculates the height depending on the device's screen size

Eg: 20.h -> will take 20% of the screen's height

Implementation

double get h => this * PlatformQuery.height / 100;