ar property
EdgeInsets
get
ar
Scales all values by the radius (uniform) ratio.
Implementation
EdgeInsets get ar {
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 EdgeInsets.only(
left: info.setRadius(left),
top: info.setRadius(top),
right: info.setRadius(right),
bottom: info.setRadius(bottom),
);
}