GetDotPainterCallback typedef

GetDotPainterCallback = FlDotPainter Function(FlSpot, double, LineChartBarData, int)

The callback passed to get the painter of a FlSpot

The callback receives FlSpot, which is the target spot, LineChartBarData is the chart's bar. int is the index position of the spot. It should return a FlDotPainter that needs to be used for drawing target.

Implementation

typedef GetDotPainterCallback = FlDotPainter Function(
  FlSpot,
  double,
  LineChartBarData,
  int,
);