anchor.diff:  /// Lerps between a [LinearGradient] colors, based on [t]
   Color lerpGradient(List<Color> colors, List<double> stops, double t) {
     if (stops == null || stops.length != colors.length) {
  -    stops = [];
  -
       /// provided gradientColorStops is invalid and we calculate it here
  -    colors.asMap().forEach((index, color) {
  -      final percent = 1.0 / colors.length;
  -      stops.add(percent * (index + 1));
  -    });
  +    stops = List.generate(colors.length, (i) => (i + 1) / colors.length);
     }
   
     for (var s = 0; s < stops.length - 1; s++) {
  
positive.code:   }
  
    if (resultNumber.endsWith('.0')) {
      resultNumber = resultNumber.replaceAll('.0', '');
    }
  
    return resultNumber + symbol;
  
negative.code:   } else if (scaled >= 1.6) {
      return 2 * pow(10, count);
    } else {
      return pow(10, count);
    }
  }
  
  