handleHover method

ChartHitResult? handleHover(
  1. Offset position,
  2. ChartEngine engine,
  3. ChartContext context
)

Implementation

ChartHitResult? handleHover(
  Offset position,
  ChartEngine engine,
  ChartContext context,
) {
  final hit = hitTestEngine.test(position, context, engine.renderers);
  onHover?.call(hit, position);
  return hit;
}