mouseDetector property

(void Function(PointerHoverEvent event)?) mouseDetector

Set by the PointerMoveDispatcher to receive mouse events from the game widget.

Implementation

void Function(PointerHoverEvent event)? get mouseDetector => _mouseDetector;
void mouseDetector=(void newMouseDetector(PointerHoverEvent event)?)

Implementation

set mouseDetector(void Function(PointerHoverEvent event)? newMouseDetector) {
  _mouseDetector = newMouseDetector;
  refreshWidget();
}