anchor.diff:        return;
       }
   
  -    final List<double> groupsX = _calculateGroupsX(size, data.barGroups, data.alignment);
  +    final groupsX = _calculateGroupsX(size, data.barGroups, data.alignment);
       _groupBarsPosition = _calculateGroupAndBarsPosition(size, groupsX, data.barGroups);
   
       _drawBars(canvasWrapper, _groupBarsPosition);
       drawAxisTitles(canvasWrapper);
       _drawTitles(canvasWrapper, _groupBarsPosition);
   
  -    for (int i = 0; i < targetData.barGroups.length; i++) {
  +    for (var i = 0; i < targetData.barGroups.length; i++) {
         final barGroup = targetData.barGroups[i];
  -      for (int j = 0; j < barGroup.barRods.length; j++) {
  +      for (var j = 0; j < barGroup.barRods.length; j++) {
           if (!barGroup.showingTooltipIndicators.contains(j)) {
             continue;
           }
  
positive.code:           barBotY = getPixelY(targetData.barGroups[i].barRods[j].y, chartViewSize);
          }
  
          final double backDrawBarY =
              getPixelY(targetData.barGroups[i].barRods[j].backDrawRodData.y, chartViewSize);
          final EdgeInsets touchExtraThreshold = targetData.barTouchData.touchExtraThreshold;
  
          final bool isXInTouchBounds =
              (touchedPoint.dx <= barX + halfBarWidth + touchExtraThreshold.right) &&
                  (touchedPoint.dx >= barX - halfBarWidth - touchExtraThreshold.left);
  
          final bool isYInBarBounds = (touchedPoint.dy <= barBotY + touchExtraThreshold.bottom) &&
              (touchedPoint.dy >= barTopY - touchExtraThreshold.top);
  
          bool isYInBarBackDrawBounds;
  
negative.code:         break;
  
        case BarChartAlignment.spaceAround:
          final sumWidth = barGroups.map((group) => group.width).reduce((a, b) => a + b);
          final spaceAvailable = drawSize.width - sumWidth;
          final eachSpace = spaceAvailable / (barGroups.length * 2);
  
          var tempX = 0.0;
          barGroups.asMap().forEach((i, group) {
            tempX += eachSpace;
            tempX += group.width / 2;
  