playLongAudio static method

Future<AudioPlayer> playLongAudio(
  1. String file, {
  2. double volume = 1.0,
})

Plays a single run of the given file file This method supports long audio files

Implementation

static Future<AudioPlayer> playLongAudio(String file, {double volume = 1.0}) {
  return audioCache.play(file, volume: volume);
}