BarHoverCallback typedef

BarHoverCallback = void Function(ChartDataPoint? point, int? datasetIndex, int? barIndex)

Callback for mouse hover events on bars Called when mouse enters a bar area

Implementation

typedef BarHoverCallback = void Function(
  ChartDataPoint? point,
  int? datasetIndex,
  int? barIndex,
);