Thread
Y
17d ago
How to change volume on artboard on Flutter
Hi.
We are playing an animation with audio in flutter. I tried adjusting the audio volume, but I don't know how to change it.
https://github.com/rive-app/rive-wasm/blob/b074534e72df0f7982ea8df46df61c8c093600ec/js/src/rive.ts#L2882-L2894 for js, but we can't find a similar API for flutter. How can we change audio volume in Flutter?
Thanks in advance for your help! Any tips or examples would be greatly appreciated.
2 replies
Y
16d ago
Unfortunately, setting the volume at runtime isn't currently supported in Flutter. An alternative solution would be to fire a General event from Rive and manage the audio playback in Flutter.
Y
Author
16d ago
Thank you for your replying.
We would like to try handling the audio event.