mousePressDetector property
Set by the PointerMoveDispatcher to receive mouse press events from the
game widget so it can fire onHoverCancel on hovered HoverCallbacks
components when the user presses a button while hovering.
Implementation
void Function(PointerDownEvent event)? get mousePressDetector =>
_mousePressDetector;
Implementation
set mousePressDetector(
void Function(PointerDownEvent event)? newMousePressDetector,
) {
_mousePressDetector = newMousePressDetector;
refreshWidget();
}