anchor.diff:    final Map<int, Offset> badgeWidgetsOffsets;
   
     BadgeWidgetsDelegate({
  -    this.badgeWidgetsCount,
  -    this.badgeWidgetsOffsets,
  +    required this.badgeWidgetsCount,
  +    required this.badgeWidgetsOffsets,
     });
   
     @override
  
positive.code:       positionChild(
          _key,
          Offset(
            badgeWidgetsOffsets[_key].dx - (_size.width / 2),
            badgeWidgetsOffsets[_key].dy - (_size.height / 2),
          ),
        );
      }
  
negative.code: class _PieChartState extends AnimatedWidgetBaseState<PieChart> {
    /// We handle under the hood animations (implicit animations) via this tween,
    /// it lerps between the old [PieChartData] to the new one.
    late PieChartDataTween _pieChartDataTween;
  
    /// This is used to map the touch events to [PieTouchResponse]
    TouchHandler<PieTouchResponse>? _touchHandler;
  
    /// This is used to retrieve the offsets for puting widgets upon the chart.
    ///
    /// exposes [PieChartWidgetsPositionHandler.getBadgeOffsets] to retrieve the badge widgets position.
    PieChartWidgetsPositionHandler? _widgetsPositionHandler;
  
    /// this is used to retrieve the chart size to handle the touches
    final GlobalKey _chartKey = GlobalKey();
  