onHover method
Handle hover event
Implementation
onHover(PointerEvent event) {
setState(() {
hoveringPoint = event.localPosition;
});
widget.onHover?.call(
convert2DPointToSphereCoordinates(
event.localPosition,
center,
convertedRadius(),
rotationY,
rotationZ,
),
);
}