title: AudioPlayers on Flutter: I can't play mp3 one behind the other
body: <p>I've been stuck for several days looking for a solution and I can't find it. I need to play mp3 files one behind the other using AudioPlayers and it is impossible for me. I'm using the only tool (as far as I know) that gives you the lib to do this kind of thing, but I can't find how to do it. Thanks for the help.</p>
  
  <pre><code>playLocal(List list) async {
  
  list.forEach((f) async {
    final file = new File('${(await getTemporaryDirectory()).path}/voice.mp3');
    await file.writeAsBytes((await loadAsset(f)).buffer.asUint8List());
    bool finish = false;
  
    if (player.state == null || player.state == AudioPlayerState.COMPLETED) {
      await player.play(file.path, isLocal:true);
    }
  
    if (player.state != null &amp;&amp; player.state != AudioPlayerState.COMPLETED) {
      while(!finish){
        player.onPlayerCompletion.listen((event){
          finish = true;
        });
        if (finish) {await player.play(file.path, isLocal:true);}
      }
    }
  
  });
  
  }
  </code></pre>