onExportVideo property

Future<void> Function(void report(double))? onExportVideo
getter/setter pair

Runs inside exportVideo, before it returns. report forwards straight to the caller's onProgress. A test uses it to stall an export (proving the queue is sequential), to script progress, or to throw.

Implementation

Future<void> Function(void Function(double) report)? onExportVideo;