stopAudio method
Implementation
Future<void> stopAudio() async {
// Ensure the file path is correct and accessible from the web directory
_audioPlayer.stop();
await _audioPlayer.release();
}
Future<void> stopAudio() async {
// Ensure the file path is correct and accessible from the web directory
_audioPlayer.stop();
await _audioPlayer.release();
}