onPositionChange property

PointerCallback onPositionChange
final

Callback that receives normalized pointer position.

Called whenever the pointer position changes with values normalized to -1.0 to 1.0 on both axes and scaled by scalar.

Implementation

final PointerCallback onPositionChange;