📜  颤振音频播放器获取持续时间长度 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:57.658000             🧑  作者: Mango

代码示例1
AudioPlayer audioPlayer = AudioPlayer();   

audioPlayer.onDurationChanged.listen((Duration duration) {
  print('max duration: ${duration.inSeconds}');
});