asp property

double get asp

Adaptive font size - scales for typography.

Similar to ar but specifically for font sizes.

Implementation

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