GetScatterTooltipItems typedef
GetScatterTooltipItems =
ScatterTooltipItem? Function(ScatterSpot touchedSpot)
Provides a ScatterTooltipItem for showing content inside the ScatterTouchTooltipData.
You can override ScatterTouchTooltipData.getTooltipItems, it gives you
touchedSpot
that touch happened on,
then you should and pass your custom ScatterTooltipItem
to show it inside the tooltip popup.
Implementation
typedef GetScatterTooltipItems = ScatterTooltipItem? Function(
ScatterSpot touchedSpot,
);