ph property
double
get
ph
Percentage of screen height.
50.ph returns 50% of the screen height.
Implementation
double get ph {
final context = AdaptiveContext.maybeContext;
if (context == null) return toDouble();
final data = AdaptiveData.maybeOf(context);
if (data == null) return toDouble();
final info = data.getDeviceInfo(context);
return info.screenHeight * (this / 100);
}