# onPointerDataPacket property

PointerDataPacketCallback onPointerDataPacket

A callback that is invoked when pointer data is available.

The framework invokes this callback in the same zone in which the callback was set.

See also:

- `GestureBinding`, the Flutter framework class which manages pointer events.

## Implementation

    PointerDataPacketCallback get onPointerDataPacket => _onPointerDataPacket;

void onPointerDataPacket= (PointerDataPacketCallback callback)

## Implementation

    set onPointerDataPacket(PointerDataPacketCallback callback) {
      _onPointerDataPacket = callback;
      _onPointerDataPacketZone = Zone.current;
    }