getInfinityOrCustom method

double getInfinityOrCustom(
  1. double custom
)

Implementation

double getInfinityOrCustom(double custom) {
  return DeviceHelper.isMobile ? double.infinity : custom;
}