Answers for "flutter audio player get duration length"

1

flutter audio player get duration length

AudioPlayer audioPlayer = AudioPlayer();   

audioPlayer.onDurationChanged.listen((Duration duration) {
  print('max duration: ${duration.inSeconds}');
});
Posted by: Guest on October-09-2021

Browse Popular Code Answers by Language