onFrame property
Called once per frame, right after the frame enters the buffer and
before onFrameStats. A batch of N timings yields N calls in
presentation order. SleuthController uses it to fan frames out to
BaseDetector.processFrame.
Implementation
final void Function(FrameStats frame)? onFrame;