notification fixed

This commit is contained in:
Rajshinde046
2024-04-16 19:39:01 +05:30
parent f9d4532884
commit 0b908dc6c6
6 changed files with 50 additions and 42 deletions

View File

@@ -27,6 +27,11 @@ class ContentBytesController extends GetxController {
final buttonNotifier = ValueNotifier<ButtonState>(ButtonState.paused);
late AudioPlayer _audioPlayer;
@override
void dispose() {
_audioPlayer.stop();
super.dispose();
}
void getAudio() => _audioPlayer;