mouseDetector property
Set by the PointerMoveDispatcher to receive mouse events from the game widget.
Implementation
void Function(PointerHoverEvent event)? get mouseDetector => _mouseDetector;Implementation
set mouseDetector(void Function(PointerHoverEvent event)? newMouseDetector) {
  _mouseDetector = newMouseDetector;
  refreshWidget();
}