onLoaded property

void Function(ThorvgController controller)? onLoaded
final

Invoked once the native handle and texture are ready. Use the supplied ThorvgController to drive play/pause/seek/resize. The controller is owned by the widget and disposed automatically.

Implementation

final void Function(ThorvgController controller)? onLoaded;