mouseDetector property

void Function(PointerHoverEvent event)? get mouseDetector
inherited

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)?)
inherited

Implementation

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