onFrameUpdate property

void Function(ARFrameUpdate? update)? onFrameUpdate
getter/setter pair

Called on every throttled sample once setFrameUpdates is enabled.

Delivers the reticle hit together with the camera matrices, which is what makes an aim-then-tap (Apple-Measure style) flow and world-anchored Flutter overlays possible. Null while the camera is not tracking.

Implementation

void Function(ARFrameUpdate? update)? onFrameUpdate;