ah property

double get ah

Adaptive height - scales based on the design height.

If your design is 812px tall and the actual screen is 1624px, then 100.ah will return 200.0.

Implementation

double get ah {
  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.setHeight(this);
}