onTooltipRender property
Occurs while tooltip is rendered. You can customize the text, position and header. Here, you can get the text, header, x and y-positions.
Implementation
final void Function(TooltipRenderArgs tooltipRenderArgs)? onTooltipRender;