getScaleLowerLimit method

double getScaleLowerLimit(
  1. Size size
)

find scale lowest value

Implementation

double getScaleLowerLimit(Size size) {
  switch (gaugeOrientation) {
    case GaugeOrientation.horizontal:
      return size.height * kLowerScaleLimitHorizontal;

    case GaugeOrientation.vertical:
      return size.height / kLowerScaleLimitVertical;
  }
}