mouseDetector property

void Function(PointerHoverEvent event)? get mouseDetector

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

Implementation

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

Implementation

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