SceneTransitionLoad typedef

SceneTransitionLoad = Future<SdkResult<void>> Function(void onProgress(double progress))

A transition's load step: does the real work (asset preload, screen setup, ...) and reports progress via onProgress (0.0–1.0) as it goes.

Implementation

typedef SceneTransitionLoad =
    Future<SdkResult<void>> Function(void Function(double progress) onProgress);