prepare method
void
prepare()
Prepares the audio player for use, put this function in your initState method.
Implementation
void prepare() async {
player = AudioPlayer();
}
Prepares the audio player for use, put this function in your initState method.
void prepare() async {
player = AudioPlayer();
}