onPointerDataPacket property

  1. @override
PointerDataPacketCallback? get onPointerDataPacket
override

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

@override
PointerDataPacketCallback? get onPointerDataPacket => _platformDispatcher.onPointerDataPacket;
  1. @override
set onPointerDataPacket (PointerDataPacketCallback? callback)
override

Implementation

@override
set onPointerDataPacket(PointerDataPacketCallback? callback) {
  _platformDispatcher.onPointerDataPacket = callback;
}