awh property
Size
get
awh
Scales the size by width and height ratios respectively.
Implementation
Size get awh {
final context = AdaptiveContext.maybeContext;
if (context == null) return this;
final data = AdaptiveData.maybeOf(context);
if (data == null) return this;
final info = data.getDeviceInfo(context);
return Size(info.setWidth(width), info.setHeight(height));
}