onAudioEffectFinished property
Callback when a local audio effect file finishes playing.
This callback is triggered when the audio effect finishes playing.
soundIdThe ID of the specified audio effect. Each audio effect has a unique ID.
Implementation
final void Function(int soundId)? onAudioEffectFinished;