title: Stop audio loop (audioplayers package)
body: <p>I'm new to flutter programming and I want to create an application, where I need an audio file to play/loop in the background. However it should stop, when double tapping on the screen.</p>
  
  <p>The audio is saved in the assets folder. I am able to play it, but i don't know how to pause/stop it. I am using this <a href="https://github.com/luanpotter/audioplayers/blob/master/doc/audio_cache.md" rel="noreferrer">package</a>. </p>
  
  <pre><code>  @override
    Widget build(BuildContext context) {
      audioCache.play('rainsound.mp3', );
      return new Scaffold(
        child: new GestureDetector(
          onDoubleTap: () {
            //here I would like to stop the audio
            debugPrint('audio stopped');
          },
  </code></pre>