onPointerMove method

  1. @override
void onPointerMove(
  1. PointerMoveEvent event
)
inherited

Implementation

@override
void onPointerMove(PointerMoveEvent event) {
  final position = event.localPosition;
  if (containsLocalPoint(position)) {
    if (!_isHovered) {
      _doHoverEnter();
    }
  } else {
    if (_isHovered) {
      _doHoverExit();
    }
  }
}