minimumNice property

  1. @override
N get minimumNice
override

Same as minimum but as a nice number.

Implementation

@override
N get minimumNice {
  if (_isNiceNum(minimum)) return minimum;

  var tolerance = niceTolerance();
  if (tolerance == 0) return minimum;

  return minimum - tolerance as N;
}